From 3364c93e37c65ed8544066ed55afe1941b2b6f8d Mon Sep 17 00:00:00 2001 From: Alexander Marx Date: Thu, 8 Sep 2016 08:36:58 +0200 Subject: [PATCH] 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 Signed-off-by: Michael Tremer --- html/cgi-bin/pppsetup.cgi | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/html/cgi-bin/pppsetup.cgi b/html/cgi-bin/pppsetup.cgi index 36d0ced90d..4b45ee50c1 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'}  -- 2.39.2