Browse Source

update method call

Taylor Otwell 8 years ago
parent
commit
62d62a0524
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Auth/AuthController.php

+ 1 - 1
app/Http/Controllers/Auth/AuthController.php

@@ -37,7 +37,7 @@ class AuthController extends Controller
      */
     public function __construct()
     {
-        $this->middleware('guest', ['except' => 'logout']);
+        $this->middleware($this->guestMiddleware(), ['except' => 'logout']);
     }
 
     /**