]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/ConfirmEmailController.php
Cleaned some unused elements during testing
[bookstack] / app / Http / Controllers / Auth / ConfirmEmailController.php
index c4280448e91c037f04a2e62d1df6a9d50708c7da..520efdf884cd970b869c800c59cbfa6e246d1808 100644 (file)
@@ -47,12 +47,11 @@ class ConfirmEmailController extends Controller
     /**
      * Shows a notice that a user's email address has not been confirmed,
      * Also has the option to re-send the confirmation email.
-     *
-     * @return View
      */
     public function showAwaiting()
     {
-        return view('auth.user-unconfirmed');
+        $user = $this->loginService->getLastLoginAttemptUser();
+        return view('auth.user-unconfirmed', ['user' => $user]);
     }
 
     /**