MDL-9652 rename new password reveal to unmask
This commit is contained in:
@@ -32,7 +32,7 @@ class user_editadvanced_form extends moodleform {
|
||||
$mform->setHelpButton('auth', array('authchange', get_string('chooseauthmethod','auth')));
|
||||
$mform->setAdvanced('auth');
|
||||
|
||||
$mform->addElement('passwordreveal', 'newpassword', get_string('newpassword'), 'size="20"');
|
||||
$mform->addElement('passwordunmask', 'newpassword', get_string('newpassword'), 'size="20"');
|
||||
$mform->setType('newpassword', PARAM_RAW);
|
||||
//TODO: add missing help - empty means no change
|
||||
|
||||
|
||||
Reference in New Issue
Block a user