summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-06-14 16:48:46 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-06-14 16:48:46 -0300
commit664f9f3b919f970fb77c66cc4c5c3445081d5f25 (patch)
tree1ad6537c077c056946a72a48a616b2bbf44d6208 /usr/local
parent82b7f50a1c87739b08414f20b69dd1853f5ce495 (diff)
downloadpfsense-664f9f3b919f970fb77c66cc4c5c3445081d5f25.zip
pfsense-664f9f3b919f970fb77c66cc4c5c3445081d5f25.tar.gz
Fix max length for wpa passphrase, it fixes #3034
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 1b87b3b..d8fce57 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -520,7 +520,7 @@ if ($_POST['apply']) {
if ($_POST['passphrase']) {
$passlen = strlen($_POST['passphrase']);
- if ($passlen < 8 || $passlen > 64)
+ if ($passlen < 8 || $passlen > 63)
$input_errors[] = gettext("The length of the passphrase should be between 8 and 63 characters.");
}
}
OpenPOWER on IntegriCloud