If not logged in, redirect to login page
This commit is contained in:
@@ -19,7 +19,7 @@ $(function () {
|
||||
},
|
||||
statusCode: {
|
||||
401: function () {
|
||||
window.location.href = '/';
|
||||
window.location.href = '/auth/login';
|
||||
},
|
||||
403: function () {
|
||||
window.location.href = '/';
|
||||
|
||||
Reference in New Issue
Block a user