Nearly all <FORM> blocks now contain a hidden input
[citadel.git] / webcit / context_loop.c
index a4759ce9911e9a576b1dc2dcd30ab25d776c0604..cb1a907f62771e01c281dd84139fbaba86025ab3 100644 (file)
@@ -468,6 +468,7 @@ void context_loop(int sock)
                strcpy(TheSession->httpauth_pass, httpauth_pass);
                pthread_mutex_init(&TheSession->SessionMutex, NULL);
                pthread_mutex_lock(&SessionListMutex);
+               TheSession->nonce = rand();
                TheSession->next = SessionList;
                SessionList = TheSession;
                pthread_mutex_unlock(&SessionListMutex);