Forum Replies Created
-
AuthorPosts
-
June 30, 2025 at 2:11 pm in reply to: Password reset link just goes back to the password reset form #30719
hertzman
ParticipantYeah, I did read that page while troubleshooting. At least so far, it seems like disabling caching for the affected page has solved the problem. Appreciate your help!
June 29, 2025 at 4:23 pm in reply to: Password reset link just goes back to the password reset form #30715hertzman
ParticipantYes indeed. Interesting. The server does not cache pages when a member is logged in, but does cache pages when no one is logged in, so this is consistent with what we’re seeing. I’ve just disabled caching for the reset password page (as well as a couple of other pages that are used when no one is logged in); I’ll update you on what happens after I hear back from a few testers. Thanks for the quick response!
June 27, 2025 at 9:50 pm in reply to: Password reset link just goes back to the password reset form #30703hertzman
ParticipantAnd one more piece of information. There’s a very similar behavior when we switch the reset-password option over to the version that assigns a random password and emails the user to notify them of their password. When user is logged in, this works as expected. When user is logged out, most of the time it jumps to the screen that prompts for their email, sends the email properly, but then returns to the same email prompt screen without the usual expected green box confirming that an email has been sent.
June 27, 2025 at 7:38 pm in reply to: Password reset link just goes back to the password reset form #30701hertzman
ParticipantMore update: above update is wrong. Sometimes it works, sometimes it doesn’t. I’ve tried a number of
things, carefully tracking log and cookie values on each step. I’m having trouble finding a pattern. The only consistency I can find is that it works when a user is logged in, and most of time fails when no one is logged in. I’ve tried clearing cache, deleting cookies, different users.June 27, 2025 at 4:48 pm in reply to: Password reset link just goes back to the password reset form #30700hertzman
ParticipantUpdate: Seems like it’s working the first time I try it while not logged in, but then fails on subsequent attempts.
June 27, 2025 at 4:06 pm in reply to: Password reset link just goes back to the password reset form #30699hertzman
ParticipantSame problem, but the site is not using plain permalinks — it’s using “Post” permalinks.
1. If the user is logged in to SM when they try to reset their password, it works fine.
2. However, if no one is logged in, the sequence is this:
A. User enters email and clicks on “send link” button.
B. Link gets emailed, but screen does not refresh to show the green “Password reset link has been mailed to your email address” box.
C. User clicks on link in email. Screen refreshes to show the green “Password reset link has been mailed…” box, rather than the enter-new-password-twice box. And we’re stuck in this loop.Debug log:
[2025/06/27 09:29:55] – SUCCESS: Completed the profile_update hook handling – SWPM user profile (Member ID: 2425) updated with the latest WP user data.
[2025/06/27 09:29:55] – SUCCESS: Reset password using link option is enabled.
[2025/06/27 09:29:55] – SUCCESS: Member password reset email sent to: <removed for privacy>@gmail.comThe link generated in the email:
https://seniorsoutdoors.org/password-reset/?action=swpm-reset-using-link&key=WLIwgZWjWwxhjthamYCl&login=BatmanIdeas? Thanks!
hertzman
ParticipantOK, thanks. We’ll rework our process a bit.
-
AuthorPosts