Fix persistent issues
This commit is contained in:
@@ -130,6 +130,14 @@ namespace sscs.common
|
||||
{
|
||||
User user = (User)sessionTable[userId];
|
||||
SecretStore ss = user.GetSecretStore();
|
||||
// start persistent if not going yet
|
||||
if (!ss.IsStorePersistent())
|
||||
{
|
||||
string sDesktopPWD = ss.GetDesktopPasswd();
|
||||
if (sDesktopPWD != null)
|
||||
ss.StartPersistenceByDesktopPasswd(sDesktopPWD);
|
||||
}
|
||||
|
||||
mutex.ReleaseMutex();
|
||||
return ss;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user