mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
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 <alexander.marx@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
3943a54036
commit
3364c93e37
@@ -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 <<END
|
||||
<tr>
|
||||
<td width='25%'>$Lang::tr{'username'} <img src='/blob.gif' alt='*' /></td>
|
||||
<td width='25%'><input type='text' name='USERNAME' value='$pppsettings{'USERNAME'}' /></td>
|
||||
<td width='25%'>$Lang::tr{'password'} <img src='/blob.gif' alt='*' /></td>
|
||||
<td width='25%'>$Lang::tr{'password'} </td>
|
||||
<td width='25%'><input type='password' name='PASSWORD' value='$pppsettings{'PASSWORD'}' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user