mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-28 14:56:36 +00:00
Fix auth function setup
This commit is contained in:
@@ -155,7 +155,7 @@ func main() {
|
||||
ReceiveBuf: conf.Server.ReceiveBuf,
|
||||
}
|
||||
if conf.Caps.TokenAuth {
|
||||
gwConfig.VerifyTunnelAuthFunc = security.VerifyPAAToken
|
||||
gwConfig.VerifyTunnelCreate = security.VerifyPAAToken
|
||||
gwConfig.VerifyServerFunc = security.CheckSession(security.CheckHost)
|
||||
} else {
|
||||
gwConfig.VerifyServerFunc = security.CheckHost
|
||||
|
||||
Reference in New Issue
Block a user