X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fauth.c;h=f63b78f6d9bf64198cd708b17c9762b4172156bb;hb=669ff8aba0ce98da1fa9787b4917969cc6fc1e25;hp=c6ee328e43a785c842d0243eaa4fa94c7c169f1a;hpb=316f01d07e6e7b5f50e5b6f210ebd6098a1a4fb2;p=citadel.git diff --git a/webcit/auth.c b/webcit/auth.c index c6ee328e4..f63b78f6d 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -409,45 +409,9 @@ void finalize_openid_login(void) /* * Display a welcome screen to the user. - * - * If this is the first time login, and the web based setup is enabled, - * lead the user through the setup routines */ -void do_welcome(void) -{ +void do_welcome(void) { StrBuf *Buf; -#ifdef XXX_NOT_FINISHED_YET_XXX - FILE *fp; - int i; - - /** - * See if we have to run the first-time setup wizard - */ - if (WC->is_aide) { - if (!setup_wizard) { - int len; - sprintf(wizard_filename, "setupwiz.%s.%s", - abs(HashLittle(ctdlhost, strlen(ctdlhost))), - abs(HashLittle(ctdlport, strlen(ctdlport))) - ); - - fp = fopen(wizard_filename, "r"); - if (fp != NULL) { - fgets(buf, sizeof buf, fp); - buf[strlen(buf)-1] = 0; - fclose(fp); - if (atoi(buf) == serv_info.serv_rev_level) { - setup_wizard = 1; /* already run */ - } - } - } - - if (!setup_wizard) { - http_redirect("setup_wizard"); - } - } -#endif - /* * Go to the user's preferred start page */