aboutsummaryrefslogtreecommitdiffstats
path: root/capplet/settings/mail-account-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplet/settings/mail-account-view.c')
-rw-r--r--capplet/settings/mail-account-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplet/settings/mail-account-view.c b/capplet/settings/mail-account-view.c
index 1446923c5a..a6751b9a1b 100644
--- a/capplet/settings/mail-account-view.c
+++ b/capplet/settings/mail-account-view.c
@@ -166,6 +166,8 @@ validate_identity (MailAccountView *view)
return ERROR_NO_FULLNAME;
if (!email || !*email)
return ERROR_NO_EMAIL;
+ if (view->original) /* We don't query/store pwd on edit. */
+ return 0;
if (!pwd || !*pwd)
return ERROR_NO_PASSWORD;