mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02: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