Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-37681 repository_webdav: improved form handling when configuring …

…an instance
  • Loading branch information...
commit 46eec6e46b89a7e8e3f08e460d917f2d1a2959d8 1 parent 93e9ea9
@FMCorz FMCorz authored samhemelryk committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 repository/webdav/lib.php
View
4 repository/webdav/lib.php
@@ -202,10 +202,10 @@ public function instance_config_form($mform) {
$mform->addElement('select', 'webdav_auth', get_string('authentication', 'admin'), $choices);
$mform->addRule('webdav_auth', get_string('required'), 'required', null, 'client');
-
$mform->addElement('text', 'webdav_port', get_string('webdav_port', 'repository_webdav'), array('size' => '40'));
$mform->addElement('text', 'webdav_user', get_string('webdav_user', 'repository_webdav'), array('size' => '40'));
- $mform->addElement('text', 'webdav_password', get_string('webdav_password', 'repository_webdav'), array('size' => '40'));
+ $mform->addElement('password', 'webdav_password', get_string('webdav_password', 'repository_webdav'),
+ array('size' => '40'));
}
public function supported_returntypes() {
return (FILE_INTERNAL | FILE_EXTERNAL);
Please sign in to comment.
Something went wrong with that request. Please try again.