diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-06-14 16:48:46 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-06-14 16:48:46 -0300 |
commit | 664f9f3b919f970fb77c66cc4c5c3445081d5f25 (patch) | |
tree | 1ad6537c077c056946a72a48a616b2bbf44d6208 | |
parent | 82b7f50a1c87739b08414f20b69dd1853f5ce495 (diff) | |
download | pfsense-664f9f3b919f970fb77c66cc4c5c3445081d5f25.zip pfsense-664f9f3b919f970fb77c66cc4c5c3445081d5f25.tar.gz |
Fix max length for wpa passphrase, it fixes #3034
-rwxr-xr-x | usr/local/www/interfaces.php | 2 |
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."); } } |