Skip to content

Commit 09fcdb3

Browse files
committed
Merge pull request #27 from Raflos10/email-redirect
changed email redirect query parameter name version bump
2 parents 26a0ed0 + 874b8e6 commit 09fcdb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "supabase-auth"
33
authors = ["Eric Biggs"]
44
description = "Supabase Auth implementation following the official client libraries."
55
readme = "README.md"
6-
version = "0.10.11"
6+
version = "0.10.12"
77
edition = "2021"
88
license = "MIT OR Apache-2.0"
99
keywords = ["supabase", "supabase-auth", "authentication", "auth"]

src/client.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ impl AuthClient {
215215
let response = self
216216
.client
217217
.post(format!("{}{}/signup", self.project_url, AUTH_V1))
218-
.query(&[("email_redirect_to", redirect_to.as_deref())])
218+
.query(&[("redirect_to", redirect_to.as_deref())])
219219
.headers(headers)
220220
.body(body)
221221
.send()

0 commit comments

Comments
 (0)