mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-74947 mod_lti: remove text validation from password field
This is a password field so should not be cleaned.
This commit is contained in:
parent
a23f0bff3e
commit
b152dba74e
@ -114,7 +114,7 @@ class mod_lti_edit_types_form extends moodleform {
|
||||
$mform->setForceLtr('lti_resourcekey');
|
||||
|
||||
$mform->addElement('passwordunmask', 'lti_password', get_string('password_admin', 'lti'));
|
||||
$mform->setType('lti_password', PARAM_TEXT);
|
||||
$mform->setType('lti_password', PARAM_RAW);
|
||||
$mform->addHelpButton('lti_password', 'password_admin', 'lti');
|
||||
$mform->hideIf('lti_password', 'lti_ltiversion', 'eq', LTI_VERSION_1P3);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user