This should fix #566

This commit is contained in:
James Cole 2017-02-15 15:24:01 +01:00
parent fa54763425
commit f0783df123
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

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