diff options
author | Jan-Willem van der Meer <mail@jewilmeer.nl> | 2014-10-14 11:14:57 +0200 |
---|---|---|
committer | Jan-Willem van der Meer <mail@jewilmeer.nl> | 2014-10-14 11:16:47 +0200 |
commit | ab04096c6cf5ff340b17df56afeae9782464742d (patch) | |
tree | 81846afcf8b820948645b82ecba0dc925fa756c7 /lib/gitlab/ldap | |
parent | 18d2ee31e81e617a4c860359cb29f9118b8a3e70 (diff) | |
download | gitlab-ce-ab04096c6cf5ff340b17df56afeae9782464742d.tar.gz |
Add explaining note to authentication method [skip ci]
Diffstat (limited to 'lib/gitlab/ldap')
-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 |