removed some commented code
This commit is contained in:
parent
3a0c63b589
commit
c8a863f098
1 changed files with 1 additions and 2 deletions
|
@ -305,7 +305,6 @@ public class Manifest
|
||||||
public bool SaveAccount(SteamGuardAccount account, bool encrypt, string passKey = null, string salt = null, string iV = null)
|
public bool SaveAccount(SteamGuardAccount account, bool encrypt, string passKey = null, string salt = null, string iV = null)
|
||||||
{
|
{
|
||||||
if (encrypt && (String.IsNullOrEmpty(passKey) || String.IsNullOrEmpty(salt) || String.IsNullOrEmpty(iV))) return false;
|
if (encrypt && (String.IsNullOrEmpty(passKey) || String.IsNullOrEmpty(salt) || String.IsNullOrEmpty(iV))) return false;
|
||||||
//if (!encrypt && this.Encrypted) return false;
|
|
||||||
|
|
||||||
string jsonAccount = JsonConvert.SerializeObject(account);
|
string jsonAccount = JsonConvert.SerializeObject(account);
|
||||||
|
|
||||||
|
@ -337,7 +336,7 @@ public class Manifest
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wasEncrypted = this.Encrypted;
|
bool wasEncrypted = this.Encrypted;
|
||||||
this.Encrypted = encrypt;// || this.Encrypted;
|
this.Encrypted = encrypt;
|
||||||
|
|
||||||
if (!this.Save())
|
if (!this.Save())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue