gitlabhq/app
Pat Thoyts a2d244ec06 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>
2012-07-21 09:04:05 +01:00
..
assets Box shadow for boxes 2012-07-20 08:39:34 +03:00
contexts BaseContext 2012-07-20 08:39:34 +03:00
controllers Handle LDAP missing credentials error with a flash message. 2012-07-21 09:04:05 +01:00
decorators Better event feed for dashboard 2012-07-06 02:16:41 +03:00
helpers Tree ajax log. progress bar & refactoring 2012-07-10 23:12:38 +03:00
mailers fix port issue 2012-07-03 18:52:48 +03:00
models Merge branch 'sys_hooks' of dev.gitlabhq.com:gitlabhq 2012-07-20 09:08:16 +00:00
observers System Hooks: move callback to observer 2012-07-20 01:01:29 +03:00
roles BaseContext 2012-07-20 08:39:34 +03:00
uploaders v1.0 2011-10-13 04:00:00 +03:00
views Merge branch 'sys_hooks' of dev.gitlabhq.com:gitlabhq 2012-07-20 09:08:16 +00:00
workers System Hook: implemented 2012-07-19 00:25:10 +03:00