mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Allow anonymous access for sample mod
This makes testing simpler.
This commit is contained in:
@@ -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