a1dert/lh-tickets-test — Issue #471: Ex-employees can log back in when clicking on the "reset password" link
Author: a1dert
Created: 2011-11-30 12:21:00+00:00
State: open
Labels: p2

Imported from lighthouse. Original ticket at: http://redtape.lighthouseapp.com/projects/59696/tickets/72. Created by Adina Moldovan - 2010-11-19T11:31:28Z

Steps to reproduce:
1.Log in as administrator
2.Go to Employees tab and Add a new user
3.Accept invitation and log in with the newly created user
4.Log in with that user and post one holiday request
5.Log in with the Administrator and Discharge that new user

Expected results:
The user should not be allowed to log in and should receive a notification email saying that (s)he was discharged.

Actual results:
The user can't log back into the app, which is ok, but if the administrator resets his/hers password, the user is able to log back in after clicking on the "reset password" link from the email sent by redtape.