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