This commit is contained in:
Kload 2013-11-23 13:31:30 +01:00
parent cfb5373516
commit 8b761dbab5

View file

@ -99,7 +99,7 @@ app = Sammy('#main', function (sam) {
c.flash('fail', 'Wrong password');
if (xhr.status == 401) {
c.flash('fail', 'Wrong password');
} else if (typeof xhr.responseJSON !== undefined) {
} else if (typeof xhr.responseJSON !== 'undefined') {
c.flash('fail', xhr.responseJSON.error);
} else {
if (uri == '/postinstall') {