My site uses popups for login, registration etc. and they all work fine. Only when the session times out or when I directly navigate to /login.aspx, I get the message "Login Failed. Please remember that passwords are case sensitive." (with the same username / password of course). The admin log only states a login failure. Both, the login.aspx and the popup, use the same login link:
<a id="dnn_ctr_Login_Login_DNN_cmdLogin" title="Login" class="dnnPrimaryAction" href="javascript:__doPostBack('dnn$ctr$Login$Login_DNN$cmdLogin','')">Login</a>
This is on my local dev box only. I believe it is happening, because I upgraded a module to use Boostrap 5.
Thank you Tycho. I triple checked the cached password - that's not it. Then I wanted to try a different theme - since I would have to install Xcillion first, I used Aphelia. Now I get "ERR_TOO_MANY_REDIRECTS", I will post a separate question for that. Maybe you have another idea. I guess I could install the source code and debug into DotNetNuke.Modules.Admin.Authentication.DNN.Login to see what is going on, but maybe there is an easier way.
I am such a moron... I had forgotten the very basics of WebFORMS and introduced a <form> element with Bootstrap 5 - which I copied from the Bootstrap examples. Debugging Login.ascx.cs showed that txtUsername.Text and txtPassword.Text were empty, which was the only symptom.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.