1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 07:32:39 +01:00

Merge pull request #166 from poppahorse/patch-1

Applied baseUrl to login redirect
This commit is contained in:
Dan Brown 2016-08-21 13:44:36 +01:00 committed by GitHub
commit f8ad820281

View File

@ -40,7 +40,7 @@ class Authenticate
if ($request->ajax()) {
return response('Unauthorized.', 401);
} else {
return redirect()->guest('/login');
return redirect()->guest(baseUrl('/login'));
}
}