resetPassword method

void resetPassword(
  1. String email
)

Reset the password for the given email TODO: Not sure if this is working correctly email email to reset

Implementation

void resetPassword(String email) async {
  try {
    await client.auth.resetPasswordForEmail(
      email,
      // redirectTo: 'io.supabase.flutter://reset-callback/',
    );
  } catch (error) {
    logFatal('Problems resetting password: $error');
  }
}