Add explaining note to authentication method [skip ci]
This commit is contained in:
parent
18d2ee31e8
commit
ab04096c6c
|
|
@ -18,6 +18,8 @@ module Gitlab
|
|||
auth.login(login, password) # true will exit the loop
|
||||
end
|
||||
|
||||
# If (login, password) was invalid for all providers, the value of auth is now the last
|
||||
# Gitlab::LDAP::Authentication instance we tried.
|
||||
auth.user
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue