mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Merge pull request #3197 from Human-Connection/update-user-at-password-reset
fix: Update user.updatedAt when password is reset
This commit is contained in:
commit
0cdae364b8
@ -22,6 +22,7 @@ export default {
|
||||
WHERE duration.between(passwordReset.issuedAt, datetime()).days <= 0 AND passwordReset.usedAt IS NULL
|
||||
SET passwordReset.usedAt = datetime()
|
||||
SET user.encryptedPassword = $encryptedNewPassword
|
||||
SET user.updatedAt = toString(datetime())
|
||||
RETURN passwordReset
|
||||
`,
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user