From af855a8731738bb5c1acb5c224f80472acd02759 Mon Sep 17 00:00:00 2001 From: Kload Date: Sat, 23 Nov 2013 13:33:50 +0100 Subject: [PATCH] bugfix --- js/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/js/app.js b/js/app.js index fb968064..63caffc4 100644 --- a/js/app.js +++ b/js/app.js @@ -96,7 +96,6 @@ app = Sammy('#main', function (sam) { }) .fail(function(xhr) { console.log(xhr); - c.flash('fail', 'Wrong password'); if (xhr.status == 401) { c.flash('fail', 'Wrong password'); } else if (typeof xhr.responseJSON !== 'undefined') {