From: Alexander Marx Date: Thu, 8 Sep 2016 06:32:44 +0000 (+0200) Subject: BUG11177: pppoe password not required anymore X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2FBUG11177;p=people%2Famarx%2Fipfire-2.x.git BUG11177: pppoe password not required anymore fixes: #11177 There are providers which do not use passwords anymore. For this reason the password field is no longer mandatory. Signed-off-by: Alexander Marx --- diff --git a/html/cgi-bin/pppsetup.cgi b/html/cgi-bin/pppsetup.cgi index 36d0ced90..4b45ee50c 100644 --- a/html/cgi-bin/pppsetup.cgi +++ b/html/cgi-bin/pppsetup.cgi @@ -103,10 +103,7 @@ elsif ($pppsettings{'ACTION'} eq $Lang::tr{'save'}) if ($pppsettings{'USERNAME'} eq '') { $errormessage = $Lang::tr{'username not set'}; goto ERROR; } - if ($pppsettings{'PASSWORD'} eq '') { - $errormessage = $Lang::tr{'password not set'}; - goto ERROR; } - } + } if ($pppsettings{'TIMEOUT'} eq '') { $errormessage = $Lang::tr{'idle timeout not set'}; @@ -927,7 +924,7 @@ print < $Lang::tr{'username'} * - $Lang::tr{'password'} * + $Lang::tr{'password'}