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:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user