mirror of
https://github.com/juanfont/headscale.git
synced 2025-10-16 11:51:21 +00:00
chore: update formating
This commit is contained in:
3
oidc.go
3
oidc.go
@@ -288,6 +288,7 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
|
||||
http.StatusInternalServerError,
|
||||
"couldn't normalize email",
|
||||
)
|
||||
|
||||
return
|
||||
}
|
||||
// register the machine if it's new
|
||||
@@ -365,6 +366,4 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
|
||||
}
|
||||
|
||||
ctx.Data(http.StatusOK, "text/html; charset=utf-8", content.Bytes())
|
||||
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user