MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / setPassword

Method setPassword

src/database/WizDatabase.cpp:3059–3071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3057}
3058
3059bool WizDatabase::setPassword(const QString& strPassword, bool bSave)
3060{
3061 m_strPassword = strPassword;
3062
3063 if (bSave) {
3064 if (!setMeta(g_strAccountSection, "Password", strPassword)) {
3065 TOLOG("Failed to set user password");
3066 return false;
3067 }
3068 }
3069
3070 return true;
3071}
3072
3073UINT WizDatabase::getPasswordFalgs()
3074{

Callers 5

initBizCertMethod · 0.45
verifyCertPasswordMethod · 0.45
tryAccessDocumentMethod · 0.45

Calls 1

TOLOGFunction · 0.85

Tested by

no test coverage detected