mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 01:41:14 -06:00
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:
parent
133b1327e2
commit
d9983d8ec6
@ -272,12 +272,12 @@ define(['dojo/_base/declare',
|
|||||||
}
|
}
|
||||||
this.set('view', 'login');
|
this.set('view', 'login');
|
||||||
} else {
|
} else {
|
||||||
|
otp_f.set_value('');
|
||||||
|
new_f.set_value('');
|
||||||
|
ver_f.set_value('');
|
||||||
val_summary.add_error('login', result.message);
|
val_summary.add_error('login', result.message);
|
||||||
}
|
}
|
||||||
|
|
||||||
otp_f.set_value('');
|
|
||||||
new_f.set_value('');
|
|
||||||
ver_f.set_value('');
|
|
||||||
},
|
},
|
||||||
|
|
||||||
refresh: function() {
|
refresh: function() {
|
||||||
@ -426,4 +426,4 @@ define(['dojo/_base/declare',
|
|||||||
];
|
];
|
||||||
|
|
||||||
return LoginScreen;
|
return LoginScreen;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user