mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 17:57:33 +00:00
chore: fix function names in comment (#7723)
Signed-off-by: wanshuangcheng <wanshuangcheng@outlook.com>
This commit is contained in:
@@ -76,7 +76,7 @@ func (l *Login) renderDeviceAuthDone(w http.ResponseWriter, r *http.Request, aut
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleDeviceUserCode serves the Device Authorization user code submission form.
|
// handleDeviceAuthUserCode serves the Device Authorization user code submission form.
|
||||||
// The "user_code" may be submitted by URL (GET) or form (POST).
|
// The "user_code" may be submitted by URL (GET) or form (POST).
|
||||||
// When a "user_code" is received and found through query,
|
// When a "user_code" is received and found through query,
|
||||||
// handleDeviceAuthUserCode will create a new AuthRequest in the repository.
|
// handleDeviceAuthUserCode will create a new AuthRequest in the repository.
|
||||||
|
@@ -37,7 +37,7 @@ func (s *SetRestrictions) Validate(defaultLanguage language.Tag) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetRestrictions creates new restrictions or updates existing restrictions.
|
// SetInstanceRestrictions creates new restrictions or updates existing restrictions.
|
||||||
func (c *Commands) SetInstanceRestrictions(
|
func (c *Commands) SetInstanceRestrictions(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
setRestrictions *SetRestrictions,
|
setRestrictions *SetRestrictions,
|
||||||
|
@@ -421,7 +421,7 @@ func (h *Handler) Trigger(ctx context.Context, opts ...TriggerOpt) (_ context.Co
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// lockInstances tries to lock the instance.
|
// lockInstance tries to lock the instance.
|
||||||
// If the instance is already locked from another process no cancel function is returned
|
// If the instance is already locked from another process no cancel function is returned
|
||||||
// the instance can be skipped then
|
// the instance can be skipped then
|
||||||
// If the instance is locked, an unlock deferrable function is returned
|
// If the instance is locked, an unlock deferrable function is returned
|
||||||
|
Reference in New Issue
Block a user