1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-21 09:22:09 +03:00

Applied baseUrl to login redirect

This commit is contained in:
Chris
2016-08-15 15:07:45 +01:00
committed by GitHub
parent 92d393537c
commit 632ecc668f

View File

@ -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'));
} }
} }