1
0
mirror of https://github.com/gilbertchen/duplicacy synced 2025-12-06 00:03:38 +00:00

Fixed #101: show storage name correctly in the password command

This commit is contained in:
Gilbert Chen
2017-08-05 12:30:13 -04:00
parent 01db72080c
commit a0fa0fe7da

View File

@@ -534,7 +534,9 @@ func changePassword(context *cli.Context) {
password := ""
if preference.Encrypted {
password = duplicacy.GetPassword(*preference, "password", "Enter old password for storage %s:", false, true)
password = duplicacy.GetPassword(*preference, "password",
fmt.Sprintf("Enter old password for storage %s:", preference.StorageURL),
false, true)
}
config, _, err := duplicacy.DownloadConfig(storage, password)