supabase-flutter-demo icon indicating copy to clipboard operation
supabase-flutter-demo copied to clipboard

Signup Screen fails on email verification required by logging in user.

Open JulianSwales opened this issue 2 years ago • 0 comments

The response api for signup has been changed such that a user object is now returned so the check in the signup_screen fails when email verification is turned on.. Currently the code states if (response.data == null && response.user == null) however it should now be something like if (response.data == null && (response.user != null && response.user?.emailConfirmedAt == null))

Thanks, Julian

JulianSwales avatar May 23 '22 17:05 JulianSwales