auth
auth copied to clipboard
feat(templatemailer): getPath function should append existing query strings instead of overwrite
What kind of change does this PR introduce?
This is a bug fix for issue: https://github.com/supabase/supabase/issues/36990
What is the current behavior?
If you change ConfirmationURL for an email to https://supabase.com?flow=test the sent email will override the flow=test query string and only add specified parameters.
What is the new behavior?
New behavior fixes that and appends the whatever in the ConfirmationURL after the specified parameters. ?token_hash=xxxx&email=xxxxxx&flow=test