fix: [pw reset] fix (pass the token for deletion)

pull/9191/head
iglocska 2023-07-10 16:08:07 +02:00
parent 71fdd9ac20
commit be28fdf53c
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -3159,7 +3159,7 @@ class UsersController extends AppController
}
if ($this->request->is('post') || $this->request->is('put')) {
$abortPost = false;
return $this->__pw_change(['User' => $user], 'password_reset', $abortPost);
return $this->__pw_change(['User' => $user], 'password_reset', $abortPost, $token);
}
}