mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-17 14:03:50 +02:00
Use encryption for cookies
This commit is contained in:
parent
46e1e9b9f4
commit
5de3767e70
5 changed files with 27 additions and 24 deletions
1
main.go
1
main.go
|
@ -61,6 +61,7 @@ func main() {
|
|||
TokenVerifier: verifier,
|
||||
TokenGenerator: security.GeneratePAAToken,
|
||||
SessionKey: []byte(conf.Server.SessionKey),
|
||||
SessionEncryptionKey: []byte(conf.Server.SessionEncryptionKey),
|
||||
Hosts: conf.Server.Hosts,
|
||||
NetworkAutoDetect: conf.Client.NetworkAutoDetect,
|
||||
UsernameTemplate: conf.Client.UsernameTemplate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue