]> code.citadel.org Git - citadel.git/blobdiff - webcit/auth.c
Saving vCards now requires the API caller to specify the room
[citadel.git] / webcit / auth.c
index f7a35c780bd87761034a878a375ee14acccc3f42..cc48386bc8453fbb9083a73b252dda42f48566b9 100644 (file)
@@ -44,8 +44,8 @@ void display_login(char *mesg)
        wprintf("<div id=\"login_screen\">\n");
 
        if (mesg != NULL) if (!IsEmptyStr(mesg)) {
-               stresc(buf, mesg, 0, 0);
-               svprintf("mesg", WCS_STRING, "%s", buf);
+                       stresc(buf, SIZ,  mesg, 0, 0);
+                       svprintf("mesg", WCS_STRING, "%s", buf);
        }
 
        svprintf("LOGIN_INSTRUCTIONS", WCS_STRING,
@@ -445,10 +445,10 @@ void display_reg(int during_login)
        }
 
        if (during_login) {
-               do_edit_vcard(vcard_msgnum, "1", "do_welcome");
+               do_edit_vcard(vcard_msgnum, "1", "do_welcome", USERCONFIGROOM);
        }
        else {
-               do_edit_vcard(vcard_msgnum, "1", "display_main_menu");
+               do_edit_vcard(vcard_msgnum, "1", "display_main_menu", USERCONFIGROOM);
        }
 
 }