mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-20 07:41:31 +02:00
Update docs for auth-id changes
- Replace "headscale nodes register" with "headscale auth register" - Update from registration key to Auth ID - Fix API example to register a node
This commit is contained in:
committed by
nblock
parent
acddd73183
commit
9baa795ddb
@@ -327,7 +327,7 @@ func (h *Headscale) reqToNewRegisterResponse(
|
||||
|
||||
authRegReq := types.NewRegisterAuthRequest(nodeToRegister)
|
||||
|
||||
log.Info().Msgf("new followup node registration using key: %s", newAuthID)
|
||||
log.Info().Msgf("new followup node registration using auth id: %s", newAuthID)
|
||||
h.state.SetAuthCacheEntry(newAuthID, authRegReq)
|
||||
|
||||
return &tailcfg.RegisterResponse{
|
||||
@@ -452,7 +452,7 @@ func (h *Headscale) handleRegisterInteractive(
|
||||
authRegReq,
|
||||
)
|
||||
|
||||
log.Info().Msgf("starting node registration using key: %s", authID)
|
||||
log.Info().Msgf("starting node registration using auth id: %s", authID)
|
||||
|
||||
return &tailcfg.RegisterResponse{
|
||||
AuthURL: h.authProvider.RegisterURL(authID),
|
||||
|
||||
Reference in New Issue
Block a user