1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

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 (
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"