Update api.go

Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
This commit is contained in:
Juan Font
2022-08-12 09:02:58 +02:00
committed by GitHub
parent 393aae01df
commit 739e11e1ee

3
api.go
View File

@@ -21,7 +21,8 @@ import (
)
const (
registrationHoldoff = time.Second * 5 // TODO(juan): remove this once https://github.com/juanfont/headscale/issues/727 is fixed
// TODO(juan): remove this once https://github.com/juanfont/headscale/issues/727 is fixed
registrationHoldoff = time.Second * 5
reservedResponseHeaderSize = 4
RegisterMethodAuthKey = "authkey"
RegisterMethodOIDC = "oidc"