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.
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.