mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-31 14:25:28 +00:00
Do not return stored password on first retry (#1061)
This commit is contained in:
@@ -48,9 +48,9 @@ class CredentialFinder(
|
||||
}
|
||||
else -> throw IllegalStateException("Only SshKey and Password connection mode ask for passwords")
|
||||
}
|
||||
val storedCredential = gitOperationPrefs.getString(credentialPref, null)
|
||||
if (isRetry)
|
||||
gitOperationPrefs.edit { remove(credentialPref) }
|
||||
val storedCredential = gitOperationPrefs.getString(credentialPref, null)
|
||||
if (storedCredential == null) {
|
||||
val layoutInflater = LayoutInflater.from(callingActivity)
|
||||
|
||||
|
Reference in New Issue
Block a user