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.
This commit is contained in:
Nick Craig-Wood 2021-08-11 11:37:45 +01:00
parent 227119da16
commit 890b6a45b5

View File

@ -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)),