As an admin user I want to:
...trigger password reset for a user (that is, the next time they successfully log in with their old password, they are prompted for a new one), so that I can be proactive in getting users to change their passwords after a period of time
As a user I want to:
...create an account when establishing credentials with the site
...change my password on demand (forgot password as well as change any time)
Technical Details:
User model was provided to us with most attributes and methods required for the login process.
Add an instance method to trigger password reset by storing the date password was modified and comparing it to an arbitrary number (let's say 60 days).
As an admin user I want to: ...trigger password reset for a user (that is, the next time they successfully log in with their old password, they are prompted for a new one), so that I can be proactive in getting users to change their passwords after a period of time
As a user I want to: ...create an account when establishing credentials with the site ...change my password on demand (forgot password as well as change any time)
Technical Details: User model was provided to us with most attributes and methods required for the login process.