Commit 9ecfa9cf authored by Taylor Otwell's avatar Taylor Otwell

specify middleware directly

parent d72e3f3a
...@@ -28,7 +28,7 @@ class AuthController extends Controller ...@@ -28,7 +28,7 @@ class AuthController extends Controller
* *
* @var string * @var string
*/ */
protected $redirectTo = '/'; protected $redirectTo = '/home';
/** /**
* Create a new authentication controller instance. * Create a new authentication controller instance.
...@@ -37,7 +37,7 @@ class AuthController extends Controller ...@@ -37,7 +37,7 @@ class AuthController extends Controller
*/ */
public function __construct() public function __construct()
{ {
$this->middleware($this->guestMiddleware(), ['except' => 'logout']); $this->middleware('guest', ['except' => 'logout']);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment