]> 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>
Fri, 6 Dec 2024 19:58:31 +0000 (19:58 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index 343069088a4fbebe777673f848ea749042795e68..90bdaf90c08dfec6409ba3a08147cb7297bc5b12 100755 (executable)
@@ -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";
@@ -4979,20 +4977,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>";