In word press is it possible to send users to new password after they are clicking on forgot password page ?
Actually I dont want to send any url to users email which can take them to any page.
Also if it is possible that I send them to only key (without link) and after clicking on forgot password user redirect to that page where they enter the key which received on their email earlier after clicking on forgot password button.
Regards
In word press is it possible to send users to new password after they are clicking on forgot password page ?
Actually I dont want to send any url to users email which can take them to any page.
Also if it is possible that I send them to only key (without link) and after clicking on forgot password user redirect to that page where they enter the key which received on their email earlier after clicking on forgot password button.
Regards
Sending password or as you said key in email is not the safe way. WordPress send a link in email when click on forgot password button. When you click that link it redirects to a default WordPress page for reset password there you have enter and that's it and this is the easiest way for the user.
Like you said you want to send a key in email it's like OTP and user need to enter while login and again before expiration of that key user have to change their password so it's double work for them. If you want to do it then you have to make your own custom code/plugin to perform this action in safe way and your website must have proper instructions for the users.
Hey, I did some research. I found following plugin https://wordpress/plugins/pie-register/
You have to install this plugin goto pie register-> Notification -> Select tab User notification-> select template from dropdown "Password reset request".
When you select this template it will give you to edit forgot password email in editor, where you can remove (%reset password url%) from there. So in forgot password email url won't come instead you can put your key but for dynamic key genration have to see further.
Hope this helps! Prasad :)