mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-184450 Prompt for a new SSH passphrase after the saved one fails
This commit is contained in:
@@ -74,7 +74,7 @@ public class GitSSHGUIHandler {
|
||||
CredentialAttributes oldAttributes = oldCredentialAttributes("PASSPHRASE:" + keyPath);
|
||||
CredentialAttributes newAttributes = passphraseCredentialAttributes(keyPath);
|
||||
Credentials credentials = getAndMigrateCredentials(oldAttributes, newAttributes);
|
||||
if (credentials != null) {
|
||||
if (credentials != null && !resetPassword) {
|
||||
return credentials.getPasswordAsString();
|
||||
}
|
||||
return CredentialPromptDialog.askPassword(myProject, GitBundle.getString("ssh.ask.passphrase.title"),
|
||||
|
||||
Reference in New Issue
Block a user