Adds password history support to passwordPolicy (#3102)
* password history support in passwordPolicy * Refactor RestWrite.transformUser * fix eslint issues
This commit is contained in:
committed by
Diwakar Cherukumilli
parent
08bac9f790
commit
bd1689190f
@@ -787,6 +787,7 @@ const mongoObjectToParseObject = (className, mongoObject, schema) => {
|
||||
case '_email_verify_token_expires_at':
|
||||
case '_account_lockout_expires_at':
|
||||
case '_failed_login_count':
|
||||
case '_password_history':
|
||||
// Those keys will be deleted if needed in the DB Controller
|
||||
restObject[key] = mongoObject[key];
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user