I have a home page that is very design-specific, down to the pixel. It needs to have username/password/login, but I can’t have it showing any error messages there. There is a separate standalone login page that is not design-specific and can show any messages. It’s using the standard Login control.
Is there an easy way to link the two so that if an error occurs on the home page the standalone page comes up with the errors? I know I can programmatically/manually handle most of this if need be.
Turns out the
Logincontrol has aFailureActionproperty which defaults toRefresh(reload current page). You can set it toRedirectToLoginPage, which does a URL redirect withloginfailure=1. The login page then shows a genericYour login attempt was not successful. Please try again.message, instead of a specific message. Not exactly what I was looking for, but this is too easy to pass up and implement a custom solution.