mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-06-12 21:41:02 +00:00
auto-commit for 329a5f8d-6c9a-420b-be80-2baba2957ab8
This commit is contained in:
+8
-1
@@ -318,10 +318,17 @@ async def signup(request: SignUpRequest):
|
||||
Sign up a new user with Supabase
|
||||
"""
|
||||
try:
|
||||
# Sign up with Supabase Auth
|
||||
# Sign up with Supabase Auth (auto-confirm for development)
|
||||
auth_response = supabase.auth.sign_up({
|
||||
"email": request.email,
|
||||
"password": request.password,
|
||||
"options": {
|
||||
"email_redirect_to": None,
|
||||
"data": {
|
||||
"first_name": request.first_name,
|
||||
"last_name": request.last_name,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
if not auth_response.user:
|
||||
|
||||
Reference in New Issue
Block a user