Reputation: 1
I'm trying to code a password reset feature for a site, where the user enters their old password and new password. If the old password matches, the user's password is updated to the new password. However, I am having an error where a dropdown form asks which user I would like to update.Image of dropdown form I have no clue where the error is from. Here's a picture: The dropdown list always has the same users, even though I've created a lot more.
I've tried a bunch of different ways to code a password reset view/form. I was expecting the issue to be within user authentication, but it seems to be deeper than that.
Upvotes: -1
Views: 35