diff --git a/WebModules.cpp b/WebModules.cpp index 7ea73271..fe2872a1 100644 --- a/WebModules.cpp +++ b/WebModules.cpp @@ -307,6 +307,7 @@ void CWebSock::SetVars() { m_Template["SessionIP"] = GetRemoteIP(); m_Template["Tag"] = CZNC::GetTag(GetSession()->GetUser() != NULL); m_Template["SkinName"] = GetSkinName(); + m_Template["_CSRF_Check"] = GetCSRFCheck(); if (GetSession()->IsAdmin()) { m_Template["IsAdmin"] = "true"; diff --git a/modules/www/notes/index.tmpl b/modules/www/notes/index.tmpl index 3b62d547..fad56494 100644 --- a/modules/www/notes/index.tmpl +++ b/modules/www/notes/index.tmpl @@ -1,6 +1,7 @@ INC Header.tmpl ?>