diff options
Diffstat (limited to 'cmd/vpnweb/vpnweb.go')
-rw-r--r-- | cmd/vpnweb/vpnweb.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/vpnweb/vpnweb.go b/cmd/vpnweb/vpnweb.go index ff25e09..f59cc7d 100644 --- a/cmd/vpnweb/vpnweb.go +++ b/cmd/vpnweb/vpnweb.go @@ -25,7 +25,7 @@ func main() { */ http.Handle("/3/cert", auth.RestrictedMiddleware(opts.Auth, ch)) - http.Handle("/3/auth", auth.Authenticator(opts.Auth)) + http.HandleFunc("/3/auth", auth.Authenticator(opts)) /* static files */ |