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 authored Jul 9, 2024
1 parent bb5f075 commit facafba
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 facafba

Please sign in to comment.