aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-sasl.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-sasl.c')
-rw-r--r--camel/camel-sasl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/camel/camel-sasl.c b/camel/camel-sasl.c
index d4590c5325..978104de90 100644
--- a/camel/camel-sasl.c
+++ b/camel/camel-sasl.c
@@ -219,6 +219,7 @@ camel_sasl_authtype_list (void)
#ifdef HAVE_KRB4
types = g_list_prepend (types, &camel_sasl_kerberos4_authtype);
#endif
+ types = g_list_prepend (types, &camel_sasl_plain_authtype);
return types;
}
@@ -241,6 +242,8 @@ camel_sasl_authtype (const char *mechanism)
else if (!strcmp (mechanism, "KERBEROS_V4"))
return &camel_sasl_kerberos4_authtype;
#endif
+ else if (!strcmp (mechanism, "PLAIN"))
+ return &camel_sasl_plain_authtype;
else
return NULL;
}