]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/StoppedAuthenticationException.php
Fixes padding issues of the sidebar's items
[bookstack] / app / Exceptions / StoppedAuthenticationException.php
index ef7f24017904f1f85f39f5de26fa528ef479184e..d10a6da5e15902e28fdcfe36f1e3e72ae687e76a 100644 (file)
@@ -55,7 +55,7 @@ class StoppedAuthenticationException extends \Exception implements Responsable
             ], 401);
         }
 
-        if (session()->get('sent-email-confirmation') === true) {
+        if (session()->pull('sent-email-confirmation') === true) {
             return redirect('/register/confirm');
         }