mirror of
https://github.com/gilbertchen/duplicacy
synced 2025-12-06 00:03:38 +00:00
No need to check if environment or preference has a different password than entered
This commit is contained in:
@@ -239,11 +239,6 @@ func GetPassword(preference Preference, passwordType string, prompt string,
|
||||
password = string(passwordInBytes)
|
||||
}
|
||||
|
||||
if resetPassword && preferencePassword != "" && preferencePassword != password {
|
||||
LOG_ERROR("PASSWORD_MISMATCH", "The password entered is different from what is in the environment or preference")
|
||||
return ""
|
||||
}
|
||||
|
||||
return password
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user