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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

3
api.go
View file

@ -21,7 +21,8 @@ import (
) )
const ( 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 reservedResponseHeaderSize = 4
RegisterMethodAuthKey = "authkey" RegisterMethodAuthKey = "authkey"
RegisterMethodOIDC = "oidc" RegisterMethodOIDC = "oidc"