diff options
| -rw-r--r-- | res/templates/login.html | 6 |
1 files 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 @@ <a class="forgot-password">Forgot your password?</a> </form> </fieldset> - <div id="failed-login"> - {% if login_failed %}<b>Login Failed</b>{% endif %} + <div id="failed-login" style="display: none"> + <b>Login Failed</b> </div> </div> <div class="contact-us-div"><span class="contact-us-icon"></span></div> |
