summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-06-12 13:54:10 -0400
committerjim-p <jimp@pfsense.org>2012-06-12 13:54:10 -0400
commit5c7abe2eb3a30f38aeef96e4430cc0680aff74df (patch)
tree182d43f0f964f89c046adf4b87b7affa3238dc47
parent2e23c199450583cd7daa0dd62b86d6958b36e3a9 (diff)
downloadpfsense-5c7abe2eb3a30f38aeef96e4430cc0680aff74df.zip
pfsense-5c7abe2eb3a30f38aeef96e4430cc0680aff74df.tar.gz
Provide a way to disable the autocomplete shutoff.
-rwxr-xr-xusr/local/www/fend.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/fend.inc b/usr/local/www/fend.inc
index e655c71..dde5955 100755
--- a/usr/local/www/fend.inc
+++ b/usr/local/www/fend.inc
@@ -16,7 +16,7 @@
<?php outputJavaScriptFileInline("/usr/local/www/themes/{$g['theme']}/bottom-loader.js");
/* Disable form autocomplete on all but the login screen. */
-if (basename($_SERVER["SCRIPT_FILENAME"] != "index.php")): ?>
+if (basename($_SERVER["SCRIPT_FILENAME"] != "index.php") && !$allowautocomplete): ?>
<script type="text/javascript">
(function ($) {
$("input").attr("autocomplete","off");
OpenPOWER on IntegriCloud