auth-js icon indicating copy to clipboard operation
auth-js copied to clipboard

signup method throws an error instead of returning null user and sess…

Open dsl400 opened this issue 2 years ago • 0 comments

What kind of change does this PR introduce?

minor change to the signup method

What is the current behavior?

for error responses auth.signUp returned { data: { user: null, session: null }, error: error }

What is the new behavior?

for error responses auth.signUp throws an error.

dsl400 avatar Dec 28 '23 22:12 dsl400