From 7bf8d7846d444949a1e152215af5d7b3ec80f0a7 Mon Sep 17 00:00:00 2001 From: WeatherGod3218 Date: Sat, 16 May 2026 14:38:53 -0500 Subject: [PATCH] fix var --- users.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users.go b/users.go index e8b005e..c55a212 100644 --- a/users.go +++ b/users.go @@ -207,7 +207,7 @@ func (client *OIDCClient) GetUserInfo(user *OIDCUser) { // GetUserData Retreives information about a specific CSH user account func GetUserData(c *gin.Context) cshAuth.UserInfo { - cl, exists := c.Get("cshauth") + cl, _ := c.Get("cshauth") user := cl.(*cshAuth.Claims).UserInfo return user }