I find ,
I use a special page in wp-member to redirect the fist connexion so I dont use this option in your plugin :
Force users to reset their passwords?
So now it works well
@passimal,
This is a problem because you are not using the standard login and change password page.
Which is the plugin you are using to customize it? I would need to include an addon to make this compatible.
Hello
I use Wp-members plugin : but I use a hook find here :
https://ww.wp.xz.cn/support/topic/forcing-resetting-password-at-the-first-connexion/
and here the code : https://rocketgeek.com/filter-hooks/redirect-a-user-on-first-login/
So Every time a user connect the fisrst time , the redirection goes to a “special” page and He must change the password : this work fine.
2nd thing : I dont want the user go to /wp-admin/ WordPress so I use a little plugin :
“Remove Dashboard Access” (from Trustedlogin) , redirection of wp-admin to the “profil” page : This wordk fine too.
But If Use your plugin and use this option : “Force users to reset their passwords”
My website is down (topo many redirections ….)
Perhaps just have a little box to choose a customize special page ? ( not wp-admin by default ?)
I hope it s clear for you ….
Best regards
Stephane
@passimal,
If you are using custom code we cannot make this compatible in an addon but you can do it by yourself with this two hooks: acui_force_reset_password_edit_profile_url and acui_force_reset_password_redirect_condition.
You can have a look here: https://plugins.trac.ww.wp.xz.cn/browser/import-users-from-csv-with-meta/trunk/addons/woocommerce.php to check how it works.
You should also include some action to delete the meta when the password is changed.