Actions
Defect #5592
closedBetter error page on LDAP Authentication error
Defect #5592:
Better error page on LDAP Authentication error
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
LDAP
Target version:
-
Resolution:
Cant reproduce
Affected version:
Description
Logging in as a non-LDAP user, and testing the LDAP connection, I get Unable to connect (LdapError: no connection to server). But logging in as an LDAP user at the same time results in a 500 error, instead of a "nice" error page.
This is in the server log:
RuntimeError (LdapError: no connection to server): app/models/auth_source_ldap.rb:61:in `authenticate' app/models/user.rb:105:in `try_to_login' app/controllers/account_controller.rb:139:in `password_authentication' app/controllers/account_controller.rb:35:in `login' Rendering C:/Program Files/BitNami RubyStack/apps/redmine/public/500.html (500 Internal Server Error)
Actions