Skip to content

Commit

Permalink
MDL-42208 prevent autocompletion in auth configs
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Oct 18, 2013
1 parent 1115bb3 commit 94d1510
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion auth/cas/config.html
Expand Up @@ -321,7 +321,7 @@ <h4><?php print_string('auth_ldap_bind_settings', 'auth_ldap') ?></h4>
<label for="bind_pw"><?php print_string('auth_ldap_bind_pw_key', 'auth_ldap') ?></label>
</td>
<td>
<input name="bind_pw" id="bind_pw" type="password" size="30" value="<?php echo $config->bind_pw?>" />
<input name="bind_pw" id="bind_pw" type="password" size="30" value="<?php echo $config->bind_pw?>" autocomplete="off"/>
<?php if (isset($err['bind_pw'])) { echo $OUTPUT->error_text($err['bind_pw']); } ?>
</td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion auth/db/config.html
Expand Up @@ -124,7 +124,7 @@
<tr valign="top" class="required">
<td align="right"><label for="pass"><?php print_string("auth_dbpass_key", "auth_db") ?></label></td>
<td>
<input id="pass" name="pass" type="password" size="30" value="<?php p($config->pass)?>" />
<input id="pass" name="pass" type="password" size="30" value="<?php p($config->pass)?>" autocomplete="off"/>
<?php

if (isset($err["pass"])) {
Expand Down
2 changes: 1 addition & 1 deletion auth/fc/config.html
Expand Up @@ -61,7 +61,7 @@
<tr valign="top" class="required">
<td align="right"><label for="passwd"><?php print_string("auth_fcpasswd_key", "auth_fc") ?>:</label></td>
<td>
<input name="passwd" id="passwd" type="password" size="30" maxlength="12" value="<?php echo $config->passwd?>" />
<input name="passwd" id="passwd" type="password" size="30" maxlength="12" value="<?php echo $config->passwd?>" autocomplete="off"/>
<?php if (isset($err["passwd"])) echo $OUTPUT->error_text($err["passwd"]); ?>
</td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion auth/ldap/config.html
Expand Up @@ -223,7 +223,7 @@ <h4><?php print_string('auth_ldap_bind_settings', 'auth_ldap') ?></h4>
<label for="bind_pw"><?php print_string('auth_ldap_bind_pw_key', 'auth_ldap') ?></label>
</td>
<td>
<input name="bind_pw" id="bind_pw" type="password" size="30" value="<?php echo $config->bind_pw?>" />
<input name="bind_pw" id="bind_pw" type="password" size="30" value="<?php echo $config->bind_pw?>" autocomplete="off"/>
<?php if (isset($err['bind_pw'])) { echo $OUTPUT->error_text($err['bind_pw']); } ?>
</td>
<td>
Expand Down

0 comments on commit 94d1510

Please sign in to comment.