Skip to content

Commit

Permalink
chore: fix function name in comment (#3869)
Browse files Browse the repository at this point in the history
Signed-off-by: camcui <cuishua@sina.cn>
Co-authored-by: Jonas Hungershausen <jonas.hungershausen@ory.sh>
  • Loading branch information
camcui and jonas-jonas committed Apr 29, 2024
1 parent 264395a commit 3ecdf2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfservice/hook/show_verification_ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (e *ShowVerificationUIHook) ExecutePostRegistrationPostPersistHook(_ http.R
})
}

// ExecutePostRegistrationPostPersistHook adds redirect headers and status code if the request is a browser request.
// ExecuteLoginPostHook adds redirect headers and status code if the request is a browser request.
// If the request is not a browser request, this hook does nothing.
func (e *ShowVerificationUIHook) ExecuteLoginPostHook(_ http.ResponseWriter, r *http.Request, _ node.UiNodeGroup, f *login.Flow, _ *session.Session) error {
return otelx.WithSpan(r.Context(), "selfservice.hook.ShowVerificationUIHook.ExecutePostRegistrationPostPersistHook", func(ctx context.Context) error {
Expand Down

0 comments on commit 3ecdf2b

Please sign in to comment.