Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Chris
2016-08-15 15:07:45 +0100
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Committed by
GitHub
2016-08-15 15:07:45 +0100
Commit
632ecc668ffe3e120a9bcc3d872dfd89be080629
632ecc66
1 parent
92d39353
Applied baseUrl to login redirect
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Http/Middleware/Authenticate.php
app/Http/Middleware/Authenticate.php
View file @
632ecc6
...
...
@@ -40,7 +40,7 @@ class Authenticate
if
(
$request
->
ajax
())
{
return
response
(
'Unauthorized.'
,
401
);
}
else
{
return
redirect
()
->
guest
(
'/login'
);
return
redirect
()
->
guest
(
baseUrl
(
'/login'
)
);
}
}
...
...
Please
register
or
sign in
to post a comment