]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
ovpnmain.cgi: Remove crypto error/warning boxes
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Mar 2024 16:11:00 +0000 (17:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Jun 2025 19:44:59 +0000 (19:44 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index 11db0027f0052379db7d0be2bb2f5666dd404112..d914de4ce6376745bd9c3e0966822e59fbb22d28 100644 (file)
@@ -62,8 +62,6 @@ my %cahash=();
 my %selected=();
 my $warnmessage = '';
 my $errormessage = '';
-my $cryptoerror = '';
-my $cryptowarning = '';
 my %settings=();
 my $routes_push_file = "${General::swroot}/ovpn/routes_push";
 my $confighost="${General::swroot}/fwhosts/customhosts";
@@ -4980,20 +4978,6 @@ END
        # Show any errors and warnings
        &Header::errorbox($errormessage);
 
-       if ($cryptoerror) {
-               &Header::openbox('100%', 'LEFT', $Lang::tr{'crypto error'});
-               print "<class name='base'>$cryptoerror";
-               print "&nbsp;</class>";
-               &Header::closebox();
-       }
-
-       if ($cryptowarning) {
-               &Header::openbox('100%', 'LEFT', $Lang::tr{'crypto warning'});
-               print "<class name='base'>$cryptowarning";
-               print "&nbsp;</class>";
-               &Header::closebox();
-       }
-
        if ($warnmessage) {
                &Header::openbox('100%', 'LEFT', $Lang::tr{'warning messages'});
                print "$warnmessage<br>";