timperrett/lift-shiro — pull request #12 by j3ffb (2012-04-24 13:18:15+00:00)
Title: Display Error messages on the Login page

A small change, showing the errors on the Login page instead of the index.

I have my index page secured using HasRole as I am using ldap and not all users are allowed access. The user can be authenticated successfully, but if they are not in the role a redirect loop is caused on the index page as the error message is attempted to be displayed. The login page would be a more appropriate place to show the error message that relates to permissions.