summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/templates/login.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/templates/login.html b/res/templates/login.html
index b2971879..46a9dbbc 100644
--- a/res/templates/login.html
+++ b/res/templates/login.html
@@ -24,7 +24,7 @@
success : function () {
document.location = "/index";
},
- error : function () {
+ error : function (xhr, status, err_thrown) {
document.location = "/login";
}
});