mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-23 19:42:57 +03:00
Auth + Encryption for cookies, based on SessionSecret via SHA512
This commit is contained in:
parent
6292424591
commit
91427427f2
3 changed files with 16 additions and 4 deletions
|
@ -22,7 +22,7 @@ var (
|
|||
SendgridApiKey string
|
||||
EmailFrom string
|
||||
EmailFromName string
|
||||
SessionSecret []byte
|
||||
SessionSecret [64]byte
|
||||
WgConfTemplate string
|
||||
BasePath string
|
||||
SubnetRanges map[string]([]*net.IPNet)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue