mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 02:43:05 +00:00
chore: update formatting
This commit is contained in:
parent
972bef1194
commit
046116656b
1 changed files with 4 additions and 1 deletions
5
oidc.go
5
oidc.go
|
@ -281,7 +281,10 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
|
||||||
|
|
||||||
now := time.Now().UTC()
|
now := time.Now().UTC()
|
||||||
|
|
||||||
namespaceName, err := NormalizeNamespaceName(claims.Email, h.cfg.OIDC.StripEmaildomain)
|
namespaceName, err := NormalizeNamespaceName(
|
||||||
|
claims.Email,
|
||||||
|
h.cfg.OIDC.StripEmaildomain,
|
||||||
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error().Err(err).Caller().Msgf("couldn't normalize email")
|
log.Error().Err(err).Caller().Msgf("couldn't normalize email")
|
||||||
ctx.String(
|
ctx.String(
|
||||||
|
|
Loading…
Reference in a new issue