summaryrefslogtreecommitdiff
path: root/cmd/vpnweb/vpnweb.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-01-24 23:09:50 -0600
committerkali kaneko (leap communications) <kali@leap.se>2020-01-24 23:59:42 -0600
commit307582d9d193f282fc20182468a02ed0c55b4f99 (patch)
treea1624dcf626cb6b984033c331e33b6b418b0eadc /cmd/vpnweb/vpnweb.go
parent1c9220e04016d035c3c688c315ceabe274f45dfc (diff)
sip authenticator
Diffstat (limited to 'cmd/vpnweb/vpnweb.go')
-rw-r--r--cmd/vpnweb/vpnweb.go2
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 */