fixed login redirect
This commit is contained in:
parent
7d0cdd64fb
commit
8a0783dc2c
@ -112,7 +112,7 @@ class Login extends Controller
|
|||||||
'error' => false,
|
'error' => false,
|
||||||
'message' => null,
|
'message' => null,
|
||||||
'data' => null,
|
'data' => null,
|
||||||
'redirect' => redirect()->intended($user->landing_page)->getTargetUrl(),
|
'redirect' => redirect()->intended(route($user->landing_page))->getTargetUrl(),
|
||||||
];
|
];
|
||||||
|
|
||||||
return response()->json($response);
|
return response()->json($response);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user