Hide password in External database password field

Hide password in External database password field

per Michael Rhodes -
Nombre de respostes: 1

Playing around with moodle 2.0 - noticed that the password field for setting up an external database is text (instead of '******") - this was true in 1.x versions of moodle but easily corrected by editing the the file .../enrol/database/config.html and changing the appropriate form field to 'password' - would like some instructions on how to do this in 2.0

 

Mitjana de qualificacions: -
En resposta a Michael Rhodes

Re: Hide password in External database password field

per Michael Rhodes -

Think I figured out - hope it doesn't break anyhting Somrient - change line 27 (see below in case the code changes) of ../auth/db/config.html to ...type="password"... instead of "text"

<input id="pass" name="pass" type="text" size="30" value="<?php echo $config->pass?>" />