Fixed login error message box in LoginScreen page

Fix added for showing error message returned from server to client
browser. User is now notified with proper error messages returned by
server.

https://bugzilla.redhat.com/show_bug.cgi?id=1293870

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
Abhijeet Kasurde 2015-12-28 12:33:11 +05:30 committed by Petr Vobornik
parent 133b1327e2
commit d9983d8ec6

View File

@ -272,12 +272,12 @@ define(['dojo/_base/declare',
}
this.set('view', 'login');
} else {
val_summary.add_error('login', result.message);
}
otp_f.set_value('');
new_f.set_value('');
ver_f.set_value('');
val_summary.add_error('login', result.message);
}
},
refresh: function() {