fix: set random session secret if not set (#417)

This commit is contained in:
Khanh Ngo
2023-08-11 11:48:51 +02:00
committed by GitHub
parent 364a43e3dc
commit b55543f424
2 changed files with 12 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ var (
flagSendgridApiKey string
flagEmailFrom string
flagEmailFromName string = "WireGuard UI"
flagSessionSecret string
flagSessionSecret string = util.RandomString(32)
flagWgConfTemplate string
flagBasePath string
)