professor / whiteboard

Carnegie Mellon University - Silicon Valley Campus - Learn By Doing Curriculum Tool
37 stars 61 forks source link

Reset active directory passwords #211

Closed akotoe closed 11 years ago

akotoe commented 11 years ago

Hi Todd,

This is the second feature. It builds on top of the "create_active_directory_accounts" feature.

This is how it works:

There is a new "Forgot password" link in the login page. When a user clicks this link, he is prompted with a form to validate his cmu email address and his personal email address.

Once the user is authenticated, a whiteboard sends a link to him for password reset. The link expires after a certain time.

When the user clicks the clink, he is directed to a page where he can create a new password. The new password is encoded and sent to active directory over SSL.

This pull request is for code review. Otherwise Jazz will inform us when he is ready to roll out the new setup.

professor commented 11 years ago

I refactored your first pull request. The code in this pull request conflicts with my changes. Since I new what I changed, I have fixed all of the merge conflicts. I will push this code as a branch up to github. Get that new branch and start from there as a baseline.