mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-03 12:14:39 -06:00
Merge pull request #554 from arikorn/ask_b2_application_key
Request B2 "Backblaze Account or Application ID"
This commit is contained in:
@@ -527,8 +527,8 @@ func CreateStorage(preference Preference, resetPassword bool, threads int) (stor
|
|||||||
} else if matched[1] == "b2" {
|
} else if matched[1] == "b2" {
|
||||||
bucket := matched[3]
|
bucket := matched[3]
|
||||||
|
|
||||||
accountID := GetPassword(preference, "b2_id", "Enter Backblaze Account ID:", true, resetPassword)
|
accountID := GetPassword(preference, "b2_id", "Enter Backblaze Account or Application ID:", true, resetPassword)
|
||||||
applicationKey := GetPassword(preference, "b2_key", "Enter Backblaze Application Key:", true, resetPassword)
|
applicationKey := GetPassword(preference, "b2_key", "Enter Corresponding Backblaze Application Key:", true, resetPassword)
|
||||||
|
|
||||||
b2Storage, err := CreateB2Storage(accountID, applicationKey, bucket, threads)
|
b2Storage, err := CreateB2Storage(accountID, applicationKey, bucket, threads)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user