update admission code comments [ci skip]

This commit is contained in:
Brad Rydzewski 2021-10-01 14:04:15 -04:00 committed by GitHub
parent e4cfd4bb0b
commit 0c087df430
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,7 @@ func (s *membership) Admit(ctx context.Context, user *core.User) error {
return err
}
// if the user is a member of an organization in the
// organization whitelist we can admit the user.
// account whitelist we can admit the user.
for _, org := range orgs {
_, ok := s.account[strings.ToLower(org.Name)]
if ok {