mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-16 05:33:47 +02:00
Fix auth function setup
This commit is contained in:
parent
c76de478e2
commit
19e9e3269d
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -28,7 +28,7 @@ RUN git clone https://github.com/bolkedebruin/rdpgw.git /app && \
|
|||
chmod u+s /opt/rdpgw/rdpgw-auth && \
|
||||
chown -R 1001 /opt/rdpgw
|
||||
|
||||
FROM busybox
|
||||
FROM scratch
|
||||
|
||||
# make tempdir in case filestore is used
|
||||
ADD tmp.tar /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue