DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Broken login page after password reset

 4 Replies
 3 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 10
New Around Here

We are running DNN 9.9.1, we are aware this version is outdated but due to dependencies on multiple other DNN modules we are still on this version. 

We are currently encountering the following issue where non-administrator users are redirected to a broken login page when they reset their password. Usually, our Login page looks like this:

 

This is a custom Login page, with the default Account Login module added to it.

However, after a successful password reset, users are redirected to this Login page:

 

We currently have no idea where to find the cause of this issue, which makes it also very difficult for us to find the correct solution. Is there anybody who has encountered this issue before or who could help us how we could find the cause of our issue?

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

Settings - Site settings - Site behavior - default pages is usually where to set the pages.

New Around Here
Posts: 10
New Around Here
Thankyou, this was indeed the solution, we updated DNN from 9.1.1 and on that version, we didn't need to set de default pages.
Do you know what we should do when a user is logged in to the portal and navigates to the login page?
Right now, the user is shown an empty login page. Is this a setting in DNN where we could redirect the user by default to the homepage, or do have to fix this ourselves?
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

There is no way to prevent an end-user from attempting to find and navigate to the login page.  Honestly, depending on how your website is put together, this is a very low concern use case.  The only people that would be doing it are the curious, the nefarious, and the accidents.  :) 

If you're concerned about covering this use case, I'd recommending creating and using a custom Login page that's specified in the Site Settings.  Then, put a HTML (or any structured content) module on the page that helps tell people what to do.  In this case, you're want one each for when they're logged in and when they're not.  Admins and Superusers will and should see both, but the messaging can help everyone else know what to do. 

In the permissions, you'd have "Unauthenticated Users" marked to see the message when not logged in, and "Registered Users" for the message that is seen by those who have logged in.  The messaging can of course include links/buttons to help people navigate away.  

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

In the same section, there is 'redirect after login'. So you can redirect to the homepage , a 'my' page, or whatever you like.

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved