resetPassword method
Reset the password for the given email
TODO: Not sure if this is working correctly
email email to reset
Implementation
void resetPassword(String email, [String? redirect]) async {
try {
await client.auth.resetPasswordForEmail(email, redirectTo: redirect);
} catch (error) {
logFatal('Problems resetting password: $error');
}
}