Nearly all <FORM> blocks now contain a hidden input
[citadel.git] / webcit / mainmenu.c
index 5560c060b109ffdeb38cb32b875faabe00fabe19..0436a77a270abb0c7783ebff2052da8ed70f8b32 100644 (file)
@@ -302,6 +302,7 @@ void display_generic(void)
        wprintf("<br />\n");
 
        wprintf("<form method=\"post\" action=\"do_generic\">\n");
+       wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%ld\">\n", WC->nonce);
 
        wprintf(_("Enter command:"));
        wprintf("<br /><input type=\"text\" name=\"g_cmd\" size=80 maxlength=\"250\"><br />\n");