Skip to content

Commit

Permalink
Merge pull request #404 from internxt/fix/add-change-lastPasswordChan…
Browse files Browse the repository at this point in the history
…gedAt-on-password-update

[_] fix: update last password changed at on password change
  • Loading branch information
apsantiso authored Oct 1, 2024
2 parents cae2ef4 + 18a2ef3 commit cb509af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/user/user.usecase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,7 @@ export class UserUseCases {
password: newPassword,
hKey: Buffer.from(newSalt),
mnemonic,
lastPasswordChangedAt: new Date(),
});

await this.keyServerRepository.findUserKeysOrCreate(user.id, {
Expand Down

0 comments on commit cb509af

Please sign in to comment.