This commit is contained in:
Carl Tashian 2020-07-20 15:42:47 -07:00
parent ed89367fca
commit 912e298043

View file

@ -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)