forked from TrueCloudLab/certificates
Whitelist -> Allowlist per https://tools.ietf.org/id/draft-knodel-terminology-01.html
This commit is contained in:
parent
ed89367fca
commit
912e298043
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue