From 0ab43aee88358f96ead2767a082526dfcb070c47 Mon Sep 17 00:00:00 2001 From: AKP Date: Sat, 12 Oct 2024 13:40:12 +0100 Subject: [PATCH] Use new() when registering the module This might be what's preventing us from registering this on the Caddy page. See https://caddy.community/t/cannot-claim-package/20537 --- tailscaleAuth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tailscaleAuth.go b/tailscaleAuth.go index 61b012f..d2a4107 100644 --- a/tailscaleAuth.go +++ b/tailscaleAuth.go @@ -12,7 +12,7 @@ import ( ) func init() { - caddy.RegisterModule(&TailscaleAuth{}) + caddy.RegisterModule(new(TailscaleAuth)) } type TailscaleAuth struct {