verifyCurrentPassword method
Re-authenticate the user with their current password. Throws AuthException if the password is wrong.
Implementation
Future<void> verifyCurrentPassword(
String email,
String currentPassword,
) async {
await _client.auth.signInWithPassword(
email: email,
password: currentPassword,
);
}