Skip to content

Commit

Permalink
Update selfservice/flow/verification/flow.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Hungershausen <[email protected]>
  • Loading branch information
aeneasr and jonas-jonas committed Sep 16, 2024
1 parent d45106c commit fb40716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfservice/flow/verification/flow.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@ func FromOldFlow(conf *config.Config, exp time.Duration, csrf string, r *http.Re

func NewPostHookFlow(conf *config.Config, exp time.Duration, csrf string, r *http.Request, strategy Strategy, original flow.Flow) (*Flow, error) {
f, err := NewFlow(conf, exp, csrf, r, strategy, original.GetType())
f.TransientPayload = original.GetTransientPayload()
if err != nil {
return nil, err
}
f.TransientPayload = original.GetTransientPayload()
requestURL, err := url.ParseRequestURI(original.GetRequestURL())
if err != nil {
requestURL = new(url.URL)
Expand Down

0 comments on commit fb40716

Please sign in to comment.