Fix backward compatibility of isRememberPGPPassphraseOn
This commit is contained in:
parent
fad95208cc
commit
eb86b4cb05
1 changed files with 4 additions and 0 deletions
|
|
@ -172,6 +172,10 @@ public class PasswordStore {
|
|||
if (self.gitPassword != nil || self.gitSSHPrivateKeyPassphrase != nil) && SharedDefaults[.isRememberGitCredentialPassphraseOn] == false {
|
||||
SharedDefaults[.isRememberGitCredentialPassphraseOn] = true
|
||||
}
|
||||
// For the renamed isRememberPGPPassphraseOn (20171008)
|
||||
if self.pgpKeyPassphrase != nil && SharedDefaults[.isRememberPGPPassphraseOn] == false {
|
||||
SharedDefaults[.isRememberPGPPassphraseOn] = true
|
||||
}
|
||||
}
|
||||
|
||||
enum SSHKeyType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue