Fix unlock code.

This commit is contained in:
Jim Norman
2005-10-13 18:22:04 +00:00
parent 143e833a8d
commit 53158787b0
2 changed files with 10 additions and 7 deletions

View File

@@ -97,20 +97,22 @@ namespace sscs.cache
if (sDesktopPassword != null)
{
// verify Desktop password
state = STATE_OK;
return true;
//state = STATE_OK;
//return true;
}
if (sMasterPassword != null)
{
// verify MasterPassword
state = STATE_OK;
return true;
if (SetMasterPassword(sMasterPassword))
{
state = STATE_OK;
return true;
}
}
return false;
}
internal bool StartPersistenceByDesktopPasswd(string desktopPasswd)