Nearly all <FORM> blocks now contain a hidden input
[citadel.git] / webcit / inetconf.c
index 70c707191de696a1e9034447f4bd4e03f752d083..c7066cda9d06198263b4b3da9e9cc0408da69373 100644 (file)
@@ -130,8 +130,9 @@ void display_inetconf(void)
                                wprintf("</font></a></TD></TR>\n");
                        }
                }
-               wprintf("<FORM METHOD=\"POST\" action=\"save_inetconf\">\n"
-                       "<TR><TD>"
+               wprintf("<FORM METHOD=\"POST\" action=\"save_inetconf\">\n");
+               wprintf("<input type=\"hidden\" name=\"nonce\" value=\"%ld\">\n", WC->nonce);
+               wprintf("<TR><TD>"
                        "<INPUT TYPE=\"text\" NAME=\"ename\" MAXLENGTH=\"64\">"
                        "<INPUT TYPE=\"hidden\" NAME=\"etype\" VALUE=\"%s\">", ic_keyword[which]);
                wprintf("</TD><TD ALIGN=RIGHT>"