From bc2c8372784afff2e6a4bf8a719022a41b237d6a Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Wed, 14 Feb 2024 23:59:39 +0000 Subject: [PATCH] Add userinfo.login --- server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/server.go b/server/server.go index db74dee..c8f6c1c 100644 --- a/server/server.go +++ b/server/server.go @@ -220,6 +220,7 @@ func NewHttpServer(conf Conf, db *database.DB, signingKey mjwt.Signer) *http.Ser } if claims["username"] { m["preferred_username"] = info.UserInfo["preferred_username"] + m["login"] = info.UserInfo["login"] } if claims["profile"] { m["profile"] = info.UserInfo["profile"]