fix auth stuff
This commit is contained in:
@@ -2,6 +2,7 @@ package auth0
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"encoding/gob"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
@@ -11,6 +12,10 @@ import (
|
|||||||
"git.citc.tech/go/web/auth/auth0/authenticator"
|
"git.citc.tech/go/web/auth/auth0/authenticator"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
gob.Register(SessionUser{})
|
||||||
|
}
|
||||||
|
|
||||||
type Logger interface {
|
type Logger interface {
|
||||||
Debug(msg string, args ...any)
|
Debug(msg string, args ...any)
|
||||||
Info(msg string, args ...any)
|
Info(msg string, args ...any)
|
||||||
|
|||||||
Reference in New Issue
Block a user