Allow anonymous access for sample mod
This makes testing simpler.
This commit is contained in:
1 parent
f387dc56c0
commit
0393153a62
1 file changed
+4
@@ -41,6 +41,10 @@ class CSampleWebAPIMod : public CModule {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool WebRequiresLogin() {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ValidateWebRequestCSRFCheck(CWebSock& WebSock,
|
||||
const CString& sPageName) override {
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user