Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 4bc09ef

Browse files
committed
update peoperty name for should_create_user
1 parent 00a04c6 commit 4bc09ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

supabase_auth/_async/gotrue_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ async def sign_in_with_otp(
442442
phone = credentials.get("phone")
443443
options = credentials.get("options", {})
444444
email_redirect_to = options.get("email_redirect_to")
445-
should_create_user = options.get("create_user", True)
445+
should_create_user = options.get("should_create_user", True)
446446
data = options.get("data")
447447
channel = options.get("channel", "sms")
448448
captcha_token = options.get("captcha_token")

supabase_auth/_sync/gotrue_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def sign_in_with_otp(
436436
phone = credentials.get("phone")
437437
options = credentials.get("options", {})
438438
email_redirect_to = options.get("email_redirect_to")
439-
should_create_user = options.get("create_user", True)
439+
should_create_user = options.get("should_create_user", True)
440440
data = options.get("data")
441441
channel = options.get("channel", "sms")
442442
captcha_token = options.get("captcha_token")

0 commit comments

Comments
 (0)