1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-11 13:53:16 +00:00

No need to check if environment or preference has a different password than entered

This commit is contained in:
Gilbert Chen
2017-10-07 23:16:06 -04:00
parent 6fd85fc687
commit b0a67cefb7

View File

@@ -239,11 +239,6 @@ func GetPassword(preference Preference, passwordType string, prompt string,
password = string(passwordInBytes) 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 return password
} }