mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
If not logged in, redirect to login page
This commit is contained in:
parent
613b7445fb
commit
824c812279
@ -19,7 +19,7 @@ $(function () {
|
||||
},
|
||||
statusCode: {
|
||||
401: function () {
|
||||
window.location.href = '/';
|
||||
window.location.href = '/auth/login';
|
||||
},
|
||||
403: function () {
|
||||
window.location.href = '/';
|
||||
|
Loading…
x
Reference in New Issue
Block a user