Request B2 "Backblaze Account or Application ID" (rather than "Account ID")

fixes #539 (Duplicacy init for B2 storage still ask for account ID)
This commit is contained in:
Ari Kornfeld
2019-04-02 22:20:29 -07:00
parent 43a5ffe011
commit 10d2058738

View File

@@ -527,8 +527,8 @@ func CreateStorage(preference Preference, resetPassword bool, threads int) (stor
} else if matched[1] == "b2" {
bucket := matched[3]
accountID := GetPassword(preference, "b2_id", "Enter Backblaze Account ID:", true, resetPassword)
applicationKey := GetPassword(preference, "b2_key", "Enter Backblaze Application Key:", true, resetPassword)
accountID := GetPassword(preference, "b2_id", "Enter Backblaze Account or Application ID:", true, resetPassword)
applicationKey := GetPassword(preference, "b2_key", "Enter Corresponding Backblaze Application Key:", true, resetPassword)
b2Storage, err := CreateB2Storage(accountID, applicationKey, bucket, threads)
if err != nil {