From 1b72be8ad3fa799ab1586bd9c8c359388eb0ea32 Mon Sep 17 00:00:00 2001 From: Tobias Tefke Date: Mon, 1 Apr 2024 11:36:10 +0200 Subject: [PATCH] Add option to fetch UUID via userinfo --- extensions/userinfo.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions/userinfo.go b/extensions/userinfo.go index 642f2f2..10d5fc9 100644 --- a/extensions/userinfo.go +++ b/extensions/userinfo.go @@ -6,8 +6,9 @@ import ( ) type UserInfo struct { - Exists bool `json:"exists"` - IsAdmin bool `json:"isAdmin"` + Exists bool `json:"exists"` + IsAdmin bool `json:"isAdmin"` + UUID string `json:"uuid"` } func GetUserInfo(url string) (UserInfo, error) {