diff --git a/frappe/core/doctype/user/user.py b/frappe/core/doctype/user/user.py index ff07b7a3b1..a39dd72b4e 100644 --- a/frappe/core/doctype/user/user.py +++ b/frappe/core/doctype/user/user.py @@ -573,7 +573,7 @@ def setup_user_email_inbox(email_account, awaiting_password, email_id, enable_ou user.save(ignore_permissions=True) - update_awaiting_password = False + udpate_user_email_settings = False if not all([email_account, email_id]): return