Skip to content

Commit

Permalink
fix: email sent message not showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
creme332 committed Apr 22, 2024
1 parent 5489444 commit 4138d9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/Password.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public function index(): void
// user has submitted his email
try {
$this->handleEmailSubmission();
$this->view_data['email_submit_success'] = true;
} catch (Exception) {
$this->view_data['error'] = 'Mailing service is not operational. Please try again later.';
}
Expand Down

0 comments on commit 4138d9d

Please sign in to comment.