Skip to content
Snippets Groups Projects
Commit 19e9e326 authored by Bolke de Bruin's avatar Bolke de Bruin
Browse files

Fix auth function setup

parent c76de478
No related branches found
No related tags found
No related merge requests found
......@@ -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 /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment