
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
- Collection Permission issue
I am facing issue in my Pro account. "Add" button is disabled while adding permission in DB collection settings.
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- Unable to create push providers - FCM or...
Currently unable to create a push provider for FCM or APNS.... https://github.com/appwrite/console/issues/2045 When uploading a file... FCM = Valid file retu...
