KT with Change Password&Reset Password part#1
Open
zenithda13 wants to merge 8 commits intoPAWSLabUniversityOfPittsburgh:masterfrom
Open
KT with Change Password&Reset Password part#1zenithda13 wants to merge 8 commits intoPAWSLabUniversityOfPittsburgh:masterfrom
zenithda13 wants to merge 8 commits intoPAWSLabUniversityOfPittsburgh:masterfrom
Conversation
02/06/2015
reset page designed
save new pwd
finish change password part
Add edu.pitt.sis.paws.kt2.setNewPwd package to src. Add forgeotPwdPage.jsp, resetPwdPage.jsp, changePwdPage.jsp to web. Add email_uuid table to portal database. Add "forget?" and link it to forgotPwdPage.jsp to let user send email. The request from this page will be sent to forgotPwd.java, and if the email is in database, send a link with uuid(using UUIDGenerator.java, MailSender.java) to the email address and save email&uuid in email_uuid table. When User click this link, use ResetPwd.java to check uuid and email. If is in email_uuid table, let user go to resetPwdPage.jsp. After user saving new password in resetPwdPage.jsp, send request to SaveNewPwd.java to save it and delete that email&uuid in email_uuid table. Add "Change Password" link after users logging in the system. Click this link will lead user to changePwdPage.jsp to reset their password.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add edu.pitt.sis.paws.kt2.setNewPwd package to src.
Add forgeotPwdPage.jsp, resetPwdPage.jsp, changePwdPage.jsp to web.
Add email_uuid table to portal database(email_uuid.sql has been added to github).
Add "forget?" and link it to forgotPwdPage.jsp to let user send email. The request from this page will be sent to forgotPwd.java, and if the email is in database, send a link with uuid(using UUIDGenerator.java, MailSender.java) to the email address and save email&uuid in email_uuid table.
When User click this link, use ResetPwd.java to check uuid and email. If is in email_uuid table, let user go to resetPwdPage.jsp.
After user saving new password in resetPwdPage.jsp, send request to SaveNewPwd.java to save it and delete that email&uuid in email_uuid table.
Add "Change Password" link after users logging in the system.
Click this link will lead user to changePwdPage.jsp to reset their password.