diff options
author | jim-p <jimp@pfsense.org> | 2011-12-21 14:45:12 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-12-21 14:46:06 -0500 |
commit | e2939b79f71a1eb5a9aba8355ffac2982db56361 (patch) | |
tree | 202e3144fa136ee7a73b55fc0564802bbaf2cbb7 /usr/local/www/services_captiveportal_vouchers.php | |
parent | d524b32be5af84d02018184034d02d0be155ea7e (diff) | |
download | pfsense-e2939b79f71a1eb5a9aba8355ffac2982db56361.zip pfsense-e2939b79f71a1eb5a9aba8355ffac2982db56361.tar.gz |
Don't let the browser auto-fill username and password on voucher config, as it can interfere with the settings being properly saved if sync isn't fully configured, which this can make happen accidentally.
Diffstat (limited to 'usr/local/www/services_captiveportal_vouchers.php')
-rw-r--r-- | usr/local/www/services_captiveportal_vouchers.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_captiveportal_vouchers.php b/usr/local/www/services_captiveportal_vouchers.php index bf40beb..1237332 100644 --- a/usr/local/www/services_captiveportal_vouchers.php +++ b/usr/local/www/services_captiveportal_vouchers.php @@ -579,14 +579,14 @@ function enable_change(enable_change) { <tr> <td width="22%" valign="top" class="vncellreq"><?=gettext("Voucher sync username"); ?></td> <td width="78%" class="vtable"> - <input name="vouchersyncusername" type="text" class="formfld" id="vouchersyncusername" size="25" value="<?=htmlspecialchars($pconfig['vouchersyncusername']);?>"> + <input name="vouchersyncusername" type="text" class="formfld" id="vouchersyncusername" size="25" value="<?=htmlspecialchars($pconfig['vouchersyncusername']);?>" autocomplete="off"> <br><?=gettext("This is the username of the master voucher nodes webConfigurator."); ?> </td> </tr> <tr> <td width="22%" valign="top" class="vncellreq"><?=gettext("Voucher sync password"); ?></td> <td width="78%" class="vtable"> - <input name="vouchersyncpass" type="password" class="formfld" id="vouchersyncpass" size="25" value="<?=htmlspecialchars($pconfig['vouchersyncpass']);?>"> + <input name="vouchersyncpass" type="password" class="formfld" id="vouchersyncpass" size="25" value="<?=htmlspecialchars($pconfig['vouchersyncpass']);?>" autocomplete="off"> <br><?=gettext("This is the password of the master voucher nodes webConfigurator."); ?> </td> </tr> |