From ab04096c6cf5ff340b17df56afeae9782464742d Mon Sep 17 00:00:00 2001 From: Jan-Willem van der Meer Date: Tue, 14 Oct 2014 11:14:57 +0200 Subject: Add explaining note to authentication method [skip ci] --- lib/gitlab/ldap/authentication.rb | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.1