Skip to content

Commit c0d0668

Browse files
committed
changed email redirect query parameter name
1 parent 4569851 commit c0d0668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ impl AuthClient {
535535
let mut params = vec![("provider", provider.to_string())];
536536

537537
if let Some(ref redirect) = o.redirect_to {
538-
params.push(("email_redirect_to", redirect.to_string()));
538+
params.push(("redirect_to", redirect.to_string()));
539539
}
540540

541541
if let Some(ref extra) = o.query_params {

0 commit comments

Comments
 (0)