projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
OPENID: if self service account creation is disabled - ApenID is also.
[citadel.git]
/
citadel
/
citserver.c
diff --git
a/citadel/citserver.c
b/citadel/citserver.c
index 7e5538b51817757f789466066e61edda741c518e..ba022d2ebd205f960b5929d0498fd5c5b6249067 100644
(file)
--- a/
citadel/citserver.c
+++ b/
citadel/citserver.c
@@
-284,7
+284,9
@@
void cmd_info(char *cmdbuf) {
cprintf("0\n"); /* 1 = no, this server is not LDAP-enabled */
#endif
- if (config.c_auth_mode == AUTHMODE_NATIVE) {
+ if ((config.c_auth_mode == AUTHMODE_NATIVE) &&
+ (config.c_disable_newu == 0))
+ {
cprintf("%d\n", config.c_disable_newu);
}
else {