supabase / supabase-flutter

Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products.
https://supabase.com/
MIT License
661 stars 154 forks source link

fix: Weak password throws `AuthWeakPasswordException`. #897

Closed dshukertjr closed 2 months ago

dshukertjr commented 2 months ago

What kind of change does this PR introduce?

Fixes a bug.

What is the current behavior?

Currently a format exception with message type 'List<dynamic>' is not a subtype of type 'List<String>' is thrown when performing signUp, password update with a week password.

What is the new behavior?

AuthWeakPasswordException is properly thrown when performing signUp/ password update with a week password.

Additional context

fixes https://github.com/supabase/supabase-flutter/issues/891