From 4138d9dec61133b5327a070d86f33d84236f0b58 Mon Sep 17 00:00:00 2001 From: creme332 <65414576+creme332@users.noreply.github.com> Date: Mon, 22 Apr 2024 19:00:50 +0400 Subject: [PATCH] fix: email sent message not showing up --- src/controllers/Password.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/Password.php b/src/controllers/Password.php index a9bd9de..dade400 100644 --- a/src/controllers/Password.php +++ b/src/controllers/Password.php @@ -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.'; }