summaryrefslogtreecommitdiff
path: root/Gemfile.lock
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2012-07-21 09:04:05 +0100
committerPat Thoyts <patthoyts@users.sourceforge.net>2012-07-21 09:04:05 +0100
commita2d244ec062f3348f6cd1c5218c6097402c5f562 (patch)
tree38d5bf8cf8989acb92142381052fc52b1d554c4c /Gemfile.lock
parent9267cb04b0b3fdf127899c4b7e636dc27fac06d3 (diff)
downloadgitlab-ce-a2d244ec062f3348f6cd1c5218c6097402c5f562.tar.gz
Handle LDAP missing credentials error with a flash message.
If a user fails to provide a username or password to the LDAP login form then a 500 error is returned due to an exception being raised in omniauth-ldap. This gem has been amended to use the omniauth error propagation function (fail!) to pass this exception message to the registered omniauth failure handler so that the Rails application can handle it approriately. The failure function now knows about standard exceptions and no longer requires a specific check for the OmniAuth::Error exception added by commit f322975. This resolves issue #1077. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'Gemfile.lock')
-rw-r--r--Gemfile.lock4
1 files changed, 2 insertions, 2 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
index e4c06fed229..9c8ecdd456d 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -42,8 +42,8 @@ GIT
GIT
remote: https://github.com/gitlabhq/omniauth-ldap.git
- revision: 7edf27d0281e09561838122982c16b7e62181f44
- ref: 7edf27d0281e09561838122982c16b7e62181f44
+ revision: f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e
+ ref: f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e
specs:
omniauth-ldap (1.0.2)
net-ldap (~> 0.2.2)