Committed by
GitHub
Merge pull request #166 from poppahorse/patch-1
Applied baseUrl to login redirect
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -40,7 +40,7 @@ class Authenticate | ... | @@ -40,7 +40,7 @@ class Authenticate |
| 40 | if ($request->ajax()) { | 40 | if ($request->ajax()) { |
| 41 | return response('Unauthorized.', 401); | 41 | return response('Unauthorized.', 401); |
| 42 | } else { | 42 | } else { |
| 43 | - return redirect()->guest('/login'); | 43 | + return redirect()->guest(baseUrl('/login')); |
| 44 | } | 44 | } |
| 45 | } | 45 | } |
| 46 | 46 | ... | ... |
-
Please register or sign in to post a comment