Skip to content

Commit

Permalink
fix: update last password changed at on password change
Browse files Browse the repository at this point in the history
  • Loading branch information
apsantiso committed Oct 1, 2024
1 parent cae2ef4 commit 18a2ef3
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 18a2ef3

Please sign in to comment.