-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forget password #21
Comments
@guptaaditya13 i will do this. |
You can also refer to last year's code, https://github.com/guptaaditya13/RegDesk . goto registration/forgotPassword.php |
thanks |
@guptaaditya13 done |
@opticod Don't close issues before your PR is merged. This issue will be closed from the PR itself. |
ok @SageEx |
@SageEx ,pr is still pending |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Controller and model needs to written for forget password. It will can be developed by 2 controller, one for sending the forget password email, second one will verify the request and generate a random password and mail it to the user.
for controller 1, generate a random password, encrypt it, store it in csrfToken column of LoginTable and attach& send it to user by email just like email verification at the time of registration.
for controller 2, just like the script controller/verifyEmail.php verify that the request is genuine then it is same as setting a new password.
Also check if already a password change request is generated, then the new request should contain the same tokens.
The text was updated successfully, but these errors were encountered: