fix: main.go changes

This commit is contained in:
Aditya
2026-02-09 18:02:02 +05:30
parent 6e0935360b
commit f2138932ac
+1 -1
View File
@@ -1263,7 +1263,7 @@ func checkAdminLogin(resp http.ResponseWriter, request *http.Request) {
// Should run calculations
if len(org.SSOConfig.OpenIdAuthorization) > 0 {
baseSSOUrl = shuffle.GetOpenIdUrl(request, *org)
baseSSOUrl, err = shuffle.GetOpenIdUrl(request, *org, user, "")
if err != nil {
log.Printf("[ERROR] Failed getting OpenID URL for org %s: %s", org.Name, err)
}