mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-17 01:08:16 +00:00
feat(core): Add in user settings to force password change for a user when logging
This commit is contained in:
1 parent
7600e9e179
commit
9918f75580
4 files changed
+65
-30
No files matched your search
@@ -206,7 +206,9 @@
|
||||
this.passwords.newPasswordConfirmation && this.passwords.newPasswordConfirmation.length &&
|
||||
this.passwords.newPassword == this.passwords.newPasswordConfirmation &&
|
||||
((this.isInPasswordRecoveryMode()) ||
|
||||
(!this.loginState && this.passwords.oldPassword && this.passwords.oldPassword.length > 0)))
|
||||
(!this.loginState && this.passwords.oldPassword && this.passwords.oldPassword.length > 0) ||
|
||||
('passwordchange' == this.loginState && this.passwords.oldPassword && this.passwords.oldPassword.length > 0)
|
||||
))
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user