Allow anonymous access for sample mod

This makes testing simpler.
This commit is contained in:
lol768 committed 2016-10-05 09:29:40 +01:00
1 parent f387dc56c0
commit 0393153a62
1 file changed
+4
+4
View File
@@ -41,6 +41,10 @@ class CSampleWebAPIMod : public CModule {
return true;
}
bool WebRequiresLogin() {
return false;
}
bool ValidateWebRequestCSRFCheck(CWebSock& WebSock,
const CString& sPageName) override {
return true;