diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ldap/authentication.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/ldap/authentication.rb b/lib/gitlab/ldap/authentication.rb index 8d306a74c15..a5944f96983 100644 --- a/lib/gitlab/ldap/authentication.rb +++ b/lib/gitlab/ldap/authentication.rb @@ -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 |