DNN Forums

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

Issue with Password-Reset Link

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

Note: I recently updated to DNN 9.11 but cannot say when this behaviour startet - the last time we needed to provide a registration page with the subsequent pw-reset-link was three years ago.

Description of the issue: When an authorized user requests a password-reset link, the corresponding email is created with a  functioning link to reset the password. The pw-reset-page opens. The user name (which is blurred out in my screenshot) is correct. But when clicking in the fields to set a new pasword, the user is immediately redirected to our Search-Result-Page. The Developer Tools show a gazillion hyperlinks to the Search-Result-Page (including on the fields).

Any help would be greatly appreciated because I don't know where this comes from. I hope the screenshot embedded here via TechSmith Capture works. If not, here is a link to the screenshot

Any help is greatly appreciated
Britta

 

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!
Hi Britta,

I have not encountered this issue with 9.11, so it is not a generic issue.
It sounds like there is a layer on top of the form. If you use inspect element, you might see a div responsible for not being able to access the form.
New Around Here
Posts: 9
New Around Here

Hi Tycho,

thanks for your quick reply. The idea with the added layer is a good one but when I inspected the page with the developer tools, I found that a hyperlinkink was created around almost every element of the page (see the screensot that I added in my initial post) that caused the wrong behaviour and I don't know where these hyperlinks come from.

Kkind regards, Britta

Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

You can also get these kind of results in the inspector when there's an HTML error on the page.
Mostly an unclosed tag.

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

This sounds like there is something more going on in a module on the page or in the theme maybe...  It's odd that there are so many search results wrappers in the HTML, on any page.  Do you have a theme developer on your team to troubleshoot that?  I'd look for any client-side scripts that are altering the page's HTML output.  It's likely a bit of buggy jQuery.  

New Around Here
Posts: 9
New Around Here

Timo, Will,

thank you. Unfortunately, it is only me dealing with our website so I will have to redeem this myself with the limited DNN knowledge I have.

As far as I checked, it is only the registration page that shows this behaviour with the weird wrappers and only when using it with the parameters PasswordReset&resetToken as called when clicking on a resetPassword Link in the email "you requested a password reset...").

I will check the login and registration pages themselves: maybe remove the respective modules and place them anew or create brand new login and registration pages (although I am not sure whether that has any repercussions on the whole process). 

Will report my findings here

Britta

 

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

If you're able to, I'd suggest doing some troubleshooting on a test/development instance of the website. 

First, when you backup and restore the website, does the same behavior still exist?  If yes, then the issue is environmental, but that's not likely in this case.  

Next, since you reproduced the issue in another environment, I'd suggest changing the theme to use the default theme entirely and attempt to remove any other modules from the login and registration pages (if there is more than one).  Try the test again.  I'd expect that it should work as expected this time, which would point you to the theme.  

What I believe you'll find is... The theme likely has a ton of JavaScript and something there was put in that wasn't tested against the login/registration workflows.  

New Around Here
Posts: 9
New Around Here

Will,

thanks a lot. Will try all that out next week.

Britta

New Around Here
Posts: 9
New Around Here

Will, 

It was indeed the theme! After testing that in my development environment, I just removed the footer from the two pages and applied one of the standard themes. That is good enough for right now but whenever I find time (which is unlikely), I will check into theme development and maybe will be able to reprogram our theme. 

Just a note in honor of the developers of our theme: our website was developed about 10 years ago and back then the theme had been tested against the registration/login/pw-reset process. And the process had worked with our theme until approx. 2018 - the last time we needed it. Apparently with one of the DNN updates since then it broke. 

I am ever so grateful for your (and everyone else's) input - THANK YOU!

Britta

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!
Glad to read it worked out ;-)

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