Skip to content

Commit

Permalink
Fix broken redirect that prevents resetting address on an OTP
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Feb 3, 2023
1 parent d8856ad commit 9e61657
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/otpgateway/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ func handleAddressView(w http.ResponseWriter, r *http.Request) {
if out.To != "" {
http.Redirect(w, r, fmt.Sprintf(uriViewOTP, out.Namespace, out.ID),
http.StatusFound)
return
}

// Get the provider.
Expand Down

1 comment on commit 9e61657

@jonas807900643
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the OTP still work?

Please sign in to comment.