Skip to content
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

Open
guptaaditya13 opened this issue Jan 5, 2016 · 7 comments
Open

Forget password #21

guptaaditya13 opened this issue Jan 5, 2016 · 7 comments
Assignees
Labels
Milestone

Comments

@guptaaditya13
Copy link
Member

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.

@opticod
Copy link
Collaborator

opticod commented Jan 6, 2016

@guptaaditya13 i will do this.

@opticod opticod self-assigned this Jan 6, 2016
@guptaaditya13
Copy link
Member Author

You can also refer to last year's code, https://github.com/guptaaditya13/RegDesk . goto registration/forgotPassword.php

@guptaaditya13 guptaaditya13 added this to the v1.2 milestone Jan 6, 2016
@opticod
Copy link
Collaborator

opticod commented Jan 6, 2016

thanks

opticod referenced this issue in opticod/anwesha Jan 9, 2016
opticod referenced this issue in opticod/anwesha Jan 9, 2016
@opticod opticod mentioned this issue Jan 9, 2016
@opticod
Copy link
Collaborator

opticod commented Jan 9, 2016

@guptaaditya13 done

@opticod opticod closed this as completed Jan 9, 2016
@SageEx SageEx reopened this Jan 9, 2016
@SageEx
Copy link
Collaborator

SageEx commented Jan 9, 2016

@opticod Don't close issues before your PR is merged. This issue will be closed from the PR itself.

@opticod
Copy link
Collaborator

opticod commented Jan 9, 2016

ok @SageEx

@opticod
Copy link
Collaborator

opticod commented Jan 21, 2016

@SageEx ,pr is still pending

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants