When using auth on pages. If a user goes to a dashboard, and logs in but types there password wrong the first time. Then goes and types it again correctly, instead of getting the dashboard they are logged into the admin site.
@adam
I have download today nightly to test the authentication issue since it has been fixed 4 hours ago and found that the issue still remains the same.
was this fix included in tonight’s nightly?
I must not be reproducing this correctly. I tried in 2.4 and thought it was fixed so I closed it. Can you send me a screen cap of how you are reproducing this?
@adam
if you try to login to a dashboard and you typed wrong user name or password the login page refresh and seems to be redirected to
/login/undefined
so the next try if you provide correct creds you will reach admin page instead of dashboard
so instead of staying on www.test.com/login?ReturnUrl=%2F it will change to /login/undefined after first unsuccessful authentication.
the issue here is that you need to make sure you login successfully from first attempt or otherwise you will land at the admin page which should not happen since a lot of us are keeping the admin page for admins and end users are not aware of it.
What type of authentication are you using? Just forms? Those are the steps I’m using but I don’t see the login page refresh after the incorrect password attempt. Let me grab a screen cast and you can see what I’m trying.
just deleted universal folder and started fresh and it works like yours which is weird since i was keeping this folder untouched from before to keep my settings with every upgrade.
The issue happen when i add the loginpage.ps1
i have just tried your loginpage example from the docs and the issue happen again