mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Fixed bug where we could not turn custom password encryption off
This commit is contained in:
@@ -36,7 +36,8 @@ namespace mRemoteNG.App
|
||||
public static RemoteConnectionsSyncronizer RemoteConnectionsSyncronizer { get; set; }
|
||||
public static DateTime LastSqlUpdate { get; set; }
|
||||
public static ArrayList ExternalTools { get; set; } = new ArrayList();
|
||||
public static SecureString EncryptionKey { get; set; } = "mR3m".ConvertToSecureString();
|
||||
public static SecureString DefaultEncryptionKey { get; } = "mR3m".ConvertToSecureString();
|
||||
public static SecureString EncryptionKey { get; set; } = DefaultEncryptionKey;
|
||||
public static ConnectionTreeModel ConnectionTreeModel
|
||||
{
|
||||
get { return Windows.TreeForm.ConnectionTreeModel; }
|
||||
|
||||
@@ -779,6 +779,10 @@ namespace mRemoteNG.UI.Window
|
||||
else
|
||||
rootInfo.PasswordString = password.ConvertToUnsecureString();
|
||||
}
|
||||
else
|
||||
{
|
||||
Runtime.EncryptionKey = Runtime.DefaultEncryptionKey;
|
||||
}
|
||||
break;
|
||||
case "Name":
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user