If not logged in, redirect to login page

This commit is contained in:
James Brooks 2017-08-21 19:40:56 +01:00
parent 613b7445fb
commit 824c812279

View File

@ -19,7 +19,7 @@ $(function () {
},
statusCode: {
401: function () {
window.location.href = '/';
window.location.href = '/auth/login';
},
403: function () {
window.location.href = '/';