Hello @iclicknz,
In order to get the reset password code, you can check the documentation: https://docs.simplejwtlogin.com/#/?id=_1-send-reset-password
In order to get the code, you have 2 options:
– Do not send any email, just save reset code in the database: The code will be added in the database, and you can retrieve it from there
– Send the default WordPress reset password email or Send custom email : This way, your user will receive an email, with the reset code.
Also, If you don’t have the code, you have the option to change the password with a valid JWT. In order to do this, you need to check the option “Allow Reset password with JWT ” from plugin settings-> Reset Password. After that, instead of the code
parameter, you can send the JWT
as &JWT=your_jwt
. This way, you will be able to change the user password.
See Example here: https://docs.simplejwtlogin.com/#/?id=_2-change-password
Best regards,
Nicu.