legiongis / hmsf-md

Arches project for the Heritage Monitoring Scouts program, maintained by Florida Public Archaeology Network
https://hms.fpan.us
1 stars 0 forks source link

"Change Password" link in profile not working #274

Closed kkemp85 closed 5 months ago

kkemp85 commented 6 months ago

I got an email from a Scout who was trying to change their password from their profile page (so they are already logged in). The pop-up came up and she filled it out and pressed "Change Password" but nothing happened. It seems like the prompt to refresh and update her password is not working.

image

mradamcox commented 6 months ago

No errors in log, but looks like the form posting creates an "unauthorized" error in dev tools. I will need to look further upstream into this to figure it out.

mradamcox commented 5 months ago

Figured this out, it was a problem with the /auth/password url matching. I had a url defined for /auth/ which matched that pattern with any other paths that have the same prefix. So, the post to /auth/password was matching the wrong view class and that's what caused the error.