This should fix #566

This commit is contained in:
James Cole
2017-02-15 15:24:01 +01:00
parent fa54763425
commit f0783df123

View File

@@ -30,13 +30,6 @@ class LoginController extends Controller
use AuthenticatesUsers; use AuthenticatesUsers;
/**
* Where to redirect users after login / registration.
*
* @var string
*/
protected $redirectTo = '/';
/** /**
* Create a new controller instance. * Create a new controller instance.
* *
@@ -100,6 +93,14 @@ class LoginController extends Controller
return redirect('/'); return redirect('/');
} }
/**
* @return string
*/
public function redirectTo(): string
{
return route('index');
}
/** /**
* Show the application login form. * Show the application login form.
* *