wireguard-ui/templates
Matt3o12 71ede02e1c
PresharedKey is now only included if set (#141)
PresharedKey is now only set in the server and client config if the key
is set and not null (or empty).

I added this feature because I was importing old config files from
clients that did not have a preshared key set. Clients can be created
without preshared keys when editing db/client/ files manually. If the
field is not set, wireguard-ui creates invalid configs by producing:

PresharedKey =

This patch remvoes this behavior and just skips the preshared key if not
set.

Co-authored-by: Khanh Ngo <k@ndk.name>
2022-01-29 09:11:50 +01:00
..
base.html Allow passing extra allowed subnets (#114) 2022-01-29 08:45:00 +01:00
clients.html QR code behind button and faster modal loading (#144) 2022-01-29 08:53:56 +01:00
global_settings.html Make MTU and PersistentKeepalive optional (#123) 2021-11-20 21:02:23 +01:00
login.html Fix form submit, preventing login. (#118) 2021-11-12 21:12:17 +01:00
server.html remove maxchars for copy+paste (#58) 2021-08-05 20:07:42 +02:00
status.html I've modify the place where I inserted code to minimize the number of files touched. (#131) 2021-12-04 09:03:56 +01:00
wg.conf PresharedKey is now only included if set (#141) 2022-01-29 09:11:50 +01:00