X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/87a5340a0526d4f46d4da676ce44f4e26039d281..refs/pull/2227/head:/app/Auth/Access/RegistrationService.php diff --git a/app/Auth/Access/RegistrationService.php b/app/Auth/Access/RegistrationService.php index 00ad630be..b85f7ffd8 100644 --- a/app/Auth/Access/RegistrationService.php +++ b/app/Auth/Access/RegistrationService.php @@ -74,6 +74,7 @@ class RegistrationService try { $this->emailConfirmationService->sendConfirmation($newUser); + session()->flash('sent-email-confirmation', true); } catch (Exception $e) { $message = trans('auth.email_confirm_send_error'); throw new UserRegistrationException($message, '/register/confirm');