From: Art Cancro Date: Sun, 3 Mar 2002 06:52:59 +0000 (+0000) Subject: * Allow editing of the "disable self-service user account creation" site config option X-Git-Tag: v7.86~6523 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=abd7e3800718c8f8d279b89bad11fbee0b0882ac * Allow editing of the "disable self-service user account creation" site config option --- diff --git a/webcit/ChangeLog b/webcit/ChangeLog index adfcf0adc..613c6ee14 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 323.5 2002/03/03 06:52:59 ajc +* Allow editing of the "disable self-service user account creation" site config option + Revision 323.4 2002/02/24 07:02:44 ajc * Added the ability to enter a Subject: line in messages * Go to the Mail room when user clicks on the new mail alert icon @@ -723,4 +726,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/netconf.c b/webcit/netconf.c index ea1647bde..00c8efa20 100644 --- a/webcit/netconf.c +++ b/webcit/netconf.c @@ -27,11 +27,6 @@ -struct sharelist { - struct sharelist *next; - char shname[SIZ]; -}; - void edit_node(void) { char buf[SIZ]; diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index 5f3ba1144..eafb097d2 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -194,6 +194,11 @@ void display_siteconfig(void) wprintf("", buf); wprintf("\n"); break; + case 30: + wprintf("Disable self-service user account creation"); + wprintf("", ((atoi(buf) != 0) ? "CHECKED" : "")); + wprintf("\n"); + break; } } @@ -249,6 +254,7 @@ void siteconfig(void) serv_printf("%s", ((!strcasecmp(bstr("c_aide_zap"), "yes") ? "1" : "0"))); serv_printf("%s", bstr("c_imap_port")); serv_printf("%s", bstr("c_net_freq")); + serv_printf("%s", bstr("c_disable_newu")); serv_printf("000"); display_success("System configuration has been updated."); }