Applied baseUrl to login redirect
This commit is contained in:
parent
757f16a3b5
commit
437dce7756
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Authenticate
|
|||
if ($request->ajax()) {
|
||||
return response('Unauthorized.', 401);
|
||||
} else {
|
||||
return redirect()->guest('/login');
|
||||
return redirect()->guest(baseUrl('/login'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue