From b0a67cefb7b24ccc813ed22dc76896c94ac1c819 Mon Sep 17 00:00:00 2001 From: Gilbert Chen Date: Sat, 7 Oct 2017 23:16:06 -0400 Subject: [PATCH] No need to check if environment or preference has a different password than entered --- src/duplicacy_utils.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/duplicacy_utils.go b/src/duplicacy_utils.go index 35b4880..d31f800 100644 --- a/src/duplicacy_utils.go +++ b/src/duplicacy_utils.go @@ -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 }