Skip to content

Commit

Permalink
set flash message as success
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Campanario committed Mar 12, 2024
1 parent d50316a commit a3dfcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Traits/PasswordManagementTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public function requestResetPassword()
return $this->redirect(['action' => 'login']);
} catch (UserNotFoundException|UserNotActiveException $exception) {
$msg = __d('cake_d_c/users', 'If the account is valid, the system will send an instructional email to the address on record.');
$this->Flash->error($msg);
$this->Flash->success($msg);
} catch (Exception $exception) {
$msg = __d('cake_d_c/users', 'There was an error please contact Administrator');
$this->Flash->error($msg);
Expand Down

0 comments on commit a3dfcf4

Please sign in to comment.