mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-31 15:24:31 +03:00
Replaced use of custom 'baseUrl' helper with 'url'
Also changed up how base URL setting was being done by manipulating incoming request URLs instead of altering then on generation.
This commit is contained in:
@ -41,7 +41,7 @@ class Authenticate
|
||||
if ($request->ajax()) {
|
||||
return response('Unauthorized.', 401);
|
||||
} else {
|
||||
return redirect()->guest(baseUrl('/login'));
|
||||
return redirect()->guest(url('/login'));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user