Add explaining note to authentication method [skip ci]

This commit is contained in:
Jan-Willem van der Meer 2014-10-14 11:14:57 +02:00
parent 18d2ee31e8
commit ab04096c6c
1 changed files with 2 additions and 0 deletions

View File

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