Carl Tashian 4 years ago
parent ed89367fca
commit 912e298043

@ -69,7 +69,7 @@ type OIDC struct {
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.
func (o *OIDC) IsAdmin(email string) bool {
email = sanitizeEmail(email)

Loading…
Cancel
Save