mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-13 20:31:45 +00:00
Applied baseUrl to login redirect
This commit is contained in:
parent
92d393537c
commit
632ecc668f
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Authenticate
|
||||||
if ($request->ajax()) {
|
if ($request->ajax()) {
|
||||||
return response('Unauthorized.', 401);
|
return response('Unauthorized.', 401);
|
||||||
} else {
|
} else {
|
||||||
return redirect()->guest('/login');
|
return redirect()->guest(baseUrl('/login'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue