mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-22 19:33:32 +03:00
fix: set random session secret if not set (#417)
This commit is contained in:
parent
364a43e3dc
commit
b55543f424
2 changed files with 12 additions and 1 deletions
2
main.go
2
main.go
|
@ -38,7 +38,7 @@ var (
|
|||
flagSendgridApiKey string
|
||||
flagEmailFrom string
|
||||
flagEmailFromName string = "WireGuard UI"
|
||||
flagSessionSecret string
|
||||
flagSessionSecret string = util.RandomString(32)
|
||||
flagWgConfTemplate string
|
||||
flagBasePath string
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue