From 03bcf81c5ef945ebbbffff71aa2ae33c060ed7a2 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 11 Aug 2021 11:37:45 +0100 Subject: [PATCH] sugarsync: fix initial connection after config re-arrangement - Fixes #5525 In this commit the config system was re-arranged 94dbfa4ea fs: change Config callback into state based callback #3455 This passed the password as a temporary config parameter but forgot to reveal it in the API call. --- backend/sugarsync/sugarsync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/sugarsync/sugarsync.go b/backend/sugarsync/sugarsync.go index e195c4e81..306ad0037 100644 --- a/backend/sugarsync/sugarsync.go +++ b/backend/sugarsync/sugarsync.go @@ -105,7 +105,7 @@ func init() { authRequest := api.AppAuthorization{ Username: username, - Password: password, + Password: obscure.MustReveal(password), Application: withDefault(opt.AppID, appID), AccessKeyID: withDefault(opt.AccessKeyID, accessKeyID), PrivateAccessKey: withDefault(opt.PrivateAccessKey, obscure.MustReveal(encryptedPrivateAccessKey)),