auth-js
auth-js copied to clipboard
signup method throws an error instead of returning null user and sess…
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.