Skip to content
Permalink
Browse files
Merge branch 'MDL-59326' of https://github.com/paulholden/moodle
  • Loading branch information
David Monllaó committed Apr 15, 2019
2 parents 72a70e3 + 114973b commit f82701acadd84a461e57c069c253b06d9bc24a30
Showing with 3 additions and 3 deletions.
  1. +2 −2 cache/stores/mongodb/addinstanceform.php
  2. +1 −1 repository/webdav/lib.php
@@ -71,7 +71,7 @@ protected function configuration_definition() {
$form->addHelpButton('username', 'username', 'cachestore_mongodb');
$form->setType('username', PARAM_ALPHANUMEXT);

$form->addElement('text', 'password', get_string('password', 'cachestore_mongodb'));
$form->addElement('passwordunmask', 'password', get_string('password', 'cachestore_mongodb'));
$form->addHelpButton('password', 'password', 'cachestore_mongodb');
$form->setType('password', PARAM_TEXT);

@@ -98,4 +98,4 @@ protected function configuration_definition() {
$form->setAdvanced('extendedmode');
$form->setType('extendedmode', PARAM_BOOL);
}
}
}
@@ -184,7 +184,7 @@ public static function instance_config_form($mform) {
$mform->setType('webdav_port', PARAM_INT);
$mform->addElement('text', 'webdav_user', get_string('webdav_user', 'repository_webdav'), array('size' => '40'));
$mform->setType('webdav_user', PARAM_RAW_TRIMMED); // Not for us to clean.
$mform->addElement('password', 'webdav_password', get_string('webdav_password', 'repository_webdav'),
$mform->addElement('passwordunmask', 'webdav_password', get_string('webdav_password', 'repository_webdav'),
array('size' => '40'));
}
public function supported_returntypes() {

0 comments on commit f82701a

Please sign in to comment.