|
@@ -69,7 +69,7 @@ type OIDC struct {
|
|
|
getIdentityFunc GetIdentityFunc
|
|
getIdentityFunc GetIdentityFunc
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// IsAdmin returns true if the given email is in the Admins whitelist, false
|
|
|
|
|
|
|
+// IsAdmin returns true if the given email is in the Admins allowlist, false
|
|
|
// otherwise.
|
|
// otherwise.
|
|
|
func (o *OIDC) IsAdmin(email string) bool {
|
|
func (o *OIDC) IsAdmin(email string) bool {
|
|
|
email = sanitizeEmail(email)
|
|
email = sanitizeEmail(email)
|