]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/RegistrationService.php
Implement the renderPages parameter
[bookstack] / app / Auth / Access / RegistrationService.php
index 00ad630be23dd2cba644e679870d924c44dc721e..b85f7ffd83c24a0aa84b97997ee75f41735fc3b6 100644 (file)
@@ -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');