1
0
Fork 0
mirror of synced 2024-07-01 04:30:59 +12:00

fix error

This commit is contained in:
Damodar Lohani 2023-02-20 04:01:08 +00:00
parent c990f686dd
commit 81add700c6

View file

@ -1564,9 +1564,9 @@ App::patch('/v1/account/password')
$user = $dbForProject->updateDocument('users', $user->getId(), $user
->setAttribute('password', $newPassword)
->setAttribute('passwordHistory', $history)
->setAttribute('passwordUpdate', DateTime::now()));
->setAttribute('passwordUpdate', DateTime::now()))
->setAttribute('hash', Auth::DEFAULT_ALGO)
->setAttribute('hashOptions', Auth::DEFAULT_ALGO_OPTIONS)
->setAttribute('hashOptions', Auth::DEFAULT_ALGO_OPTIONS);
$events->setParam('userId', $user->getId());