From 7e468367e6f8710754f0b27f3a7de4e5ca50c871 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 21 Jan 2015 19:00:21 +0200 Subject: Fixes #271: provide feedback on failed login --- res/templates/login.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/templates/login.html b/res/templates/login.html index 71990445..a0ab2161 100644 --- a/res/templates/login.html +++ b/res/templates/login.html @@ -25,7 +25,7 @@ document.location = "/index"; }, error : function (xhr, status, err_thrown) { - document.location = "/login"; + $('#failed-login').show(); } }); } @@ -50,8 +50,8 @@ Forgot your password? -
- {% if login_failed %}Login Failed{% endif %} +
-- cgit v1.3.1