Minor fixes when reporting T141

* user authenticated must be enabled/valid
* Read only: BlackMisc::CDataReadOnly<BlackCore::Data::TAuthenticatedDbUser>
* clear user fields when not authenticated
This commit is contained in:
Klaus Basan
2017-08-27 23:01:39 +02:00
committed by Mathew Sutcliffe
parent 2dfc56dc39
commit 0dfe6f69fe
7 changed files with 13 additions and 9 deletions

View File

@@ -144,7 +144,7 @@ namespace BlackMisc
void setAuthenticated(bool authenticated) { m_authenticated = authenticated; }
//! Authenticated
bool isAuthenticated() const { return m_authenticated; }
bool isAuthenticated() const;
//! Enabled
void setEnabled(bool enabled) { m_enabled = enabled; }