Skip to content

Commit bbfcd14

Browse files
authored
Merge pull request #2321 from unraid/fix/wg0-hide-keys-by-default
fix: wg0 hide keys by default
2 parents faf23f0 + 9414615 commit bbfcd14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

emhttp/plugins/dynamix/WG0.page

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ _(Local name)_:
12811281

12821282
:wg_local_name_help:
12831283

1284-
<div markdown="1" class="keys wg0 key0" style="<?= isset($wgX['PublicKey:0']) ? 'display:none' : '' ?>">
1284+
<div markdown="1" class="keys wg0 key0" style="<?= isset($wg0['PublicKey:0']) ? 'display:none' : '' ?>">
12851285
_(Local private key)_:
12861286
: <input type="text" name="PrivateKey:0" class="wide private-0" maxlength="64" value="<?=_var($wg0,'PrivateKey:0')?>" onchange="highlight($(document.wg0),this,0)" placeholder="(_(mandatory)_)" required>
12871287
<span class="inline-block">

0 commit comments

Comments
 (0)