]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Middleware/Authenticate.php
Cleaned tests up, Started LDAP tests, Created LDAP wrapper
[bookstack] / app / Http / Middleware / Authenticate.php
index ebd830ffefb4a6a953934410fc06523798f0f301..ad804d0d86b15e16fb6c2bb6a553d7f4b29401ab 100644 (file)
@@ -38,6 +38,7 @@ class Authenticate
         if(auth()->check() && auth()->user()->email_confirmed == false) {
             return redirect()->guest('/register/confirm/awaiting');
         }
+
         if ($this->auth->guest() && !Setting::get('app-public')) {
             if ($request->ajax()) {
                 return response('Unauthorized.', 401);