wireguard-ui/templates
Matt3o12 38bb8c343c PresharedKey is now only included if set
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.
2022-01-15 21:52:53 +01:00
..
base.html Dynamic year in footer page (#126) 2021-11-21 21:55:43 +01:00
clients.html Make client email input optional (#122) 2021-11-20 16:08:24 +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 2022-01-15 21:52:53 +01:00