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') {