mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 19:54:54 -06: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