
I am trying to update the email of a user and after doing that updateEmail the user is getting blocked for some reason
TL;DR
Developers are experiencing issues with the `updateEmail` function causing users to get blocked after trying to update their email. Please verify the `updateEmail` logic and ensure it is functioning properly. Check for any potential triggers that might be causing users to be blocked after the email update.
TypeScript
Future<bool> updateEmail(String email, String password) async {
try {
await account.updateEmail(email: email, password: password);
return true;
} catch (e) {
if (kDebugMode) {
print(e);
}
return false;
}
This is the function I am using for the updateEmail
I am getting old email and password of the user

and the user is getting blocked somehow

Images:

@D5 Can you take a look into this
Recommended threads
- Network error when attempting to fetch r...
Hi, I am trying to modify some database data in the console for testing but keep getting this error. I am on the appwrite cloud and have already tried clearing ...
- Having errors migrating to cloud
Project will not migrate compeltely
- Appwrite realtime stopped working all of...
In our production environment, Appwrite Realtime suddenly stopped working and no updates are coming through , can you confirm if there are any known issues?
