diff options
Diffstat (limited to 'plugins/static-files')
-rw-r--r-- | plugins/static-files/static-files.cpp | 5 | ||||
-rw-r--r-- | plugins/static-files/static-files.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/plugins/static-files/static-files.cpp b/plugins/static-files/static-files.cpp index 345cf56..b2dcdca 100644 --- a/plugins/static-files/static-files.cpp +++ b/plugins/static-files/static-files.cpp @@ -115,3 +115,8 @@ std::string static_files_plugin::generate_page( } } +bool static_files_plugin::has_own_authentication() +{ + return false; +} + diff --git a/plugins/static-files/static-files.h b/plugins/static-files/static-files.h index ff35e92..a119387 100644 --- a/plugins/static-files/static-files.h +++ b/plugins/static-files/static-files.h @@ -8,13 +8,14 @@ public: static_files_plugin(); ~static_files_plugin(); - std::string name(); + std::string name() override; std::string generate_page( std::function<std::string(const std::string& key)>& GetServerParam, std::function<std::string(const std::string& key)>& GetRequestParam, // request including body (POST...) std::function<void(const std::string& key, const std::string& value)>& SetResponseHeader // to be added to result string - ); + ) override; + bool has_own_authentication() override; }; extern "C" BOOST_SYMBOL_EXPORT static_files_plugin webserver_plugin; |