mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 03:34:39 -06:00
Save passwords after a storj storage has been created
This commit is contained in:
@@ -756,6 +756,8 @@ func CreateStorage(preference Preference, resetPassword bool, threads int) (stor
|
|||||||
LOG_ERROR("STORAGE_CREATE", "Failed to load the Storj storage at %s: %v", storageURL, err)
|
LOG_ERROR("STORAGE_CREATE", "Failed to load the Storj storage at %s: %v", storageURL, err)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
SavePassword(preference, "storj_key", apiKey)
|
||||||
|
SavePassword(preference, "storj_passphrase", passphrase)
|
||||||
return storjStorage
|
return storjStorage
|
||||||
} else if matched[1] == "smb" {
|
} else if matched[1] == "smb" {
|
||||||
server := matched[3]
|
server := matched[3]
|
||||||
|
|||||||
Reference in New Issue
Block a user