Skip to content

Update PasswordManagementTrait.php #1125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 15.next-cake5
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Controller/Traits/PasswordManagementTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ public function requestResetPassword()
'If the account is valid, the system will send an instructional email to the address on record.',
);
$this->Flash->success($msg);
return $this->redirect(['action' => 'login']);
} catch (Exception $exception) {
$msg = __d('cake_d_c/users', 'There was an error please contact Administrator');
$this->Flash->error($msg);
Expand Down
Loading