Customize redirect after login
This commit is contained in:
@@ -20,6 +20,7 @@ class LoginController extends Controller
|
|||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
|
$this->redirectTo = config('app.login_redirect');
|
||||||
$this->middleware('guest', ['except' => 'logout']);
|
$this->middleware('guest', ['except' => 'logout']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ return [
|
|||||||
'fallback_locale' => 'en',
|
'fallback_locale' => 'en',
|
||||||
|
|
||||||
# Where to redirect after logging in/registration
|
# Where to redirect after logging in/registration
|
||||||
'login_redirect' => '/',
|
'login_redirect' => '/dashboard',
|
||||||
|
|
||||||
# This sends install and vaCentral specific information to help with
|
# This sends install and vaCentral specific information to help with
|
||||||
# optimizations and figuring out where slowdowns might be happening
|
# optimizations and figuring out where slowdowns might be happening
|
||||||
|
|||||||
Reference in New Issue
Block a user