Do not return stored password on first retry (#1061)
This commit is contained in:
parent
c848788f05
commit
88b1de2b50
1 changed files with 1 additions and 1 deletions
|
@ -48,9 +48,9 @@ class CredentialFinder(
|
||||||
}
|
}
|
||||||
else -> throw IllegalStateException("Only SshKey and Password connection mode ask for passwords")
|
else -> throw IllegalStateException("Only SshKey and Password connection mode ask for passwords")
|
||||||
}
|
}
|
||||||
val storedCredential = gitOperationPrefs.getString(credentialPref, null)
|
|
||||||
if (isRetry)
|
if (isRetry)
|
||||||
gitOperationPrefs.edit { remove(credentialPref) }
|
gitOperationPrefs.edit { remove(credentialPref) }
|
||||||
|
val storedCredential = gitOperationPrefs.getString(credentialPref, null)
|
||||||
if (storedCredential == null) {
|
if (storedCredential == null) {
|
||||||
val layoutInflater = LayoutInflater.from(callingActivity)
|
val layoutInflater = LayoutInflater.from(callingActivity)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue