LT-98: Passwords shall be required to be changed every 90 days
- route to changePassword page if the password is passwordExpirationDays old - passwordExpirationDays property under passwordOptions object sets the time interval when password should be changed (90 days by default)
This commit is contained in:
1 parent
11e300f013
commit
d19e402847
4 files changed
+105
-29
No files matched your search
@@ -105,6 +105,10 @@ Template.changePassword.events({
|
||||
} else {
|
||||
// Save the new password
|
||||
ActiveEntry.insertHashedPassword(confirmPassword);
|
||||
|
||||
// Update password expiration date
|
||||
ActiveEntry.updatePasswordSetDate();
|
||||
|
||||
// Logout
|
||||
ActiveEntry.signOut();
|
||||
// Go to signIn page for new entry
|
||||
|
||||
Reference in new issue
Block a user