Export format has changed due to the addition of a new
[citadel.git] / citadel / citserver.c
index bf23951560ba3a933500bcfe8b4cad5c6d27a50c..29150820afd2c7eb2c042c30cdbef9681a0c457e 100644 (file)
@@ -309,6 +309,13 @@ void cmd_info(void) {
        cprintf("1\n");         /* yes, Sieve mail filtering is supported */
        cprintf("%d\n", config.c_enable_fulltext);
        cprintf("%s\n", svn_revision());
+
+       if (config.c_auth_mode == AUTHMODE_NATIVE) {
+               cprintf("1\n"); /* OpenID is enabled when using native auth */
+       }
+       else {
+               cprintf("0\n"); /* OpenID is disabled when using non-native auth */
+       }
        
        cprintf("000\n");
 }