Change password for users who fail on login
-
Hi
I have a site where I create accounts for subscribers (they cannot signup).I have a custom login form on my homepage. If the user knows their user/pass then they login and its all fine.
However, if they try to login, and fail, then I want them to be redirected to a page where they can create a new password.
I know how to redirect on failure, and I know how to reset the password using wp_set_password but…
I can’t get the user_id unless they are logged in.
Can anyone think of a way to do this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Change password for users who fail on login’ is closed to new replies.