Girish Ramakrishnan
2020-03-20 13:39:04 -07:00
parent 36f963dce8
commit e6d881b75d
3 changed files with 3 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ function create(username, password, email, displayName, options, auditSource, ca
id: 'uid-' + uuid.v4(),
username: username,
email: email,
fallbackEmail: email, // for new users the fallbackEmail is also the default email
fallbackEmail: email,
password: Buffer.from(derivedKey, 'binary').toString('hex'),
salt: salt.toString('hex'),
createdAt: now,