diff options
author | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-05-06 11:07:38 +0000 |
---|---|---|
committer | Christian Wieninger <cwieninger (at) gmx (dot) de> | 2007-05-06 11:07:38 +0000 |
commit | 85565b4b3235b9afa009ac1c52e034fc4c006582 (patch) | |
tree | 9a0dca573a89bd2f68dd13eea5ae727387b4f262 /setup.h | |
parent | 2a71cc466e8d0e2ced62549ded8d6e321b0ab5f9 (diff) | |
download | vdr-plugin-live-85565b4b3235b9afa009ac1c52e034fc4c006582.tar.gz vdr-plugin-live-85565b4b3235b9afa009ac1c52e034fc4c006582.tar.bz2 |
- admin password is now stored as <length>:<md5 hash of password> in live.AdminPasswordMD5
(default password keeps 'live', so please re-edit your password via OSD)
- new function MD5Hash in tools
- changed epgsearch to use MD5Hash of tools
Diffstat (limited to 'setup.h')
-rw-r--r-- | setup.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -29,12 +29,13 @@ public: int GetLastChannel() const { return m_lastChannel == 0 ? std::numeric_limits< int >::max() : m_lastChannel; } int GetScreenshotInterval() const { return m_screenshotInterval; } std::string GetAdminLogin() const { return m_adminLogin; } - std::string GetAdminPassword() const { return m_adminPassword; } + std::string GetMD5HashAdminPassword() const; + int GetAdminPasswordLength() const; bool UseAuth() const { return m_useAuth; } void SetLastChannel(int lastChannel) { m_lastChannel = lastChannel; } void SetAdminLogin(std::string login) { m_adminLogin = login; } - void SetAdminPassword(std::string password) { m_adminPassword = password; } + std::string SetAdminPassword(std::string password); void SetUseAuth(int auth) { m_useAuth = auth; } void SetScrenshotInterval(int interval) { m_screenshotInterval = interval; } @@ -57,7 +58,7 @@ private: int m_useAuth; std::string m_adminLogin; - std::string m_adminPassword; + std::string m_adminPasswordMD5; bool CheckServerPort(); bool CheckServerIps(); |