aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index bb9150de7c..c45437e3de 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -1523,7 +1523,7 @@ save_service (MailAccountGuiService *gsvc, GHashTable *extra_config,
}
if (CAMEL_PROVIDER_ALLOWS (gsvc->provider, CAMEL_URL_PART_AUTH) &&
- GTK_WIDGET_IS_SENSITIVE (gsvc->authtype) && gsvc->authitem) {
+ GTK_WIDGET_IS_SENSITIVE (gsvc->authtype) && gsvc->authitem && url->user) {
CamelServiceAuthType *authtype;
authtype = gtk_object_get_data (GTK_OBJECT (gsvc->authitem), "authtype");