]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-3079 allow review of password on signup page
authorskodak <skodak>
Wed, 25 Apr 2007 18:10:23 +0000 (18:10 +0000)
committerskodak <skodak>
Wed, 25 Apr 2007 18:10:23 +0000 (18:10 +0000)
login/signup_form.php

index 430e68d73aa482f65efb4e2f9d3934b775d92e55..8a978bb0c28876f763726d4e9cd7b4cad5aaaf11 100644 (file)
@@ -15,7 +15,7 @@ class login_signup_form extends moodleform {
         $mform->setType('username', PARAM_NOTAGS);
         $mform->addRule('username', get_string('missingusername'), 'required', null, 'server');
 
-        $mform->addElement('password', 'password', get_string('password'), 'maxlength="32" size="12"');
+        $mform->addElement('passwordreveal', 'password', get_string('password'), 'maxlength="32" size="12"');
         $mform->setType('password', PARAM_RAW);
         $mform->addRule('password', get_string('missingpassword'), 'required', null, 'server');