]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
wireguard.cgi: Bring back the warning about showing config only once
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 6 Dec 2024 18:59:35 +0000 (19:59 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Apr 2025 14:48:53 +0000 (16:48 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/wireguard.cgi

index 61818eb353f914757498e748c1e8e4d8f98e809d..04a7b705568e003c7d1a515ae38e6a1075549547 100644 (file)
@@ -307,6 +307,10 @@ if ($cgiparams{"ACTION"} eq $Lang::tr{'save'}) {
                                </a>
                        </p>
 
+                       <p class="text-error">
+                               $Lang::tr{'wg warning configuration only shown once'}
+                       </p>
+
                        <p>
                                <form method="GET" action="">
                                        <button type="submit">$Lang::tr{'done'}</button>
@@ -1421,6 +1425,10 @@ sub show_peer_configuration($$) {
                                </a>
                        </p>
 
+                       <p class="text-error">
+                               $Lang::tr{'wg warning configuration only shown once'}
+                       </p>
+
                        <p>
                                <form method="GET" action="">
                                        <button type="submit">$Lang::tr{'done'}</button>