username_r in password reset part of unauthorized dialog should be enabled as well

https://fedorahosted.org/freeipa/ticket/3904
This commit is contained in:
Petr Vobornik 2013-10-24 17:09:37 +02:00 committed by Martin Kosek
parent df7ffc53cf
commit 27bc467a62

View File

@ -2205,7 +2205,7 @@ IPA.unauthorized_dialog = function(spec) {
that.show_reset_form = function() {
that.current_view = 'reset';
that.enable_fields(['new_password', 'verify_password']);
that.enable_fields(['username_r', 'new_password', 'verify_password']);
that.session_form.css('display', 'none');
that.reset_form.css('display', 'block');
that.display_buttons(['reset', 'cancel']);