don't log passwords by default, but make password logging optional
[bpdyndnsd] / src / config.hpp
index b93c5dc..4f908e5 100644 (file)
@@ -37,6 +37,7 @@ private:
     bool DaemonMode;
     bool Syslog;
     bool EnableIPv6;
+    bool LogPasswords;
     int Loglevel;
     std::string ConfigPath;
     std::string WebcheckIpUrl;
@@ -85,6 +86,8 @@ public:
 
     bool get_syslog() const;
 
+    bool get_log_passwords() const;
+
     bool get_enable_ipv6() const;
 
     std::string get_proxy() const;