mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-06 00:03:38 +00:00
Always take password from env or pref even if resetPassword is true
This commit is contained in:
@@ -200,7 +200,7 @@ func GetPassword(preference Preference, passwordType string, prompt string,
|
|||||||
passwordID := passwordType
|
passwordID := passwordType
|
||||||
|
|
||||||
preferencePassword := GetPasswordFromPreference(preference, passwordType)
|
preferencePassword := GetPasswordFromPreference(preference, passwordType)
|
||||||
if preferencePassword != "" && !resetPassword {
|
if preferencePassword != "" {
|
||||||
return preferencePassword
|
return preferencePassword
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user