diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-06-14 16:33:58 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-06-14 16:33:58 -0300 |
commit | df78d8cc1890f19702e3e78bb3c5a583ada52356 (patch) | |
tree | a082437db0c16165616d51b90a307bb1d0f1e164 | |
parent | a22537c73c6a1301b9e2656bfaa4382b93314a55 (diff) | |
download | pfsense-df78d8cc1890f19702e3e78bb3c5a583ada52356.zip pfsense-df78d8cc1890f19702e3e78bb3c5a583ada52356.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 14b3003..c315728 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -710,7 +710,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."); } } |