update admission code comments [ci skip]
This commit is contained in:
parent
e4cfd4bb0b
commit
0c087df430
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ func (s *membership) Admit(ctx context.Context, user *core.User) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// if the user is a member of an organization in the
|
// 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 {
|
for _, org := range orgs {
|
||||||
_, ok := s.account[strings.ToLower(org.Name)]
|
_, ok := s.account[strings.ToLower(org.Name)]
|
||||||
if ok {
|
if ok {
|
||||||
|
|
Loading…
Reference in a new issue