Use remembered credential even if it is empty (#880)
* Use remembered credential even if it is empty Should fix #875. * .isNull() --> == null * Update relnotes Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Reword relnotes Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * 2019 it is Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
6b5984dfe6
commit
b60c5fb605
2 changed files with 5 additions and 1 deletions
|
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Remember passphrase option did not work with keys that had empty passphrases and were generated before 2019
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Add GNU IceCatMobile to the list of supported browsers for Autofill
|
- Add GNU IceCatMobile to the list of supported browsers for Autofill
|
||||||
|
|
|
@ -67,7 +67,7 @@ private class GitOperationCredentialFinder(val callingActivity: Activity, val co
|
||||||
val storedCredential = gitOperationPrefs.getString(credentialPref, null)
|
val storedCredential = gitOperationPrefs.getString(credentialPref, null)
|
||||||
if (isRetry)
|
if (isRetry)
|
||||||
gitOperationPrefs.edit { remove(credentialPref) }
|
gitOperationPrefs.edit { remove(credentialPref) }
|
||||||
if (storedCredential.isNullOrEmpty()) {
|
if (storedCredential == null) {
|
||||||
val layoutInflater = LayoutInflater.from(callingActivity)
|
val layoutInflater = LayoutInflater.from(callingActivity)
|
||||||
|
|
||||||
@SuppressLint("InflateParams")
|
@SuppressLint("InflateParams")
|
||||||
|
|
Loading…
Reference in a new issue