rclone/fs/config/configfile
Nick Craig-Wood 770b3496a1 config: fix in memory config not saving on the fly backend config
Before this fix, saving a :backend config gave the error

    Can't save config "token" = "XXX" for on the fly backend ":backend"

Even when using the in-memory config `--config ""`

This fixes the problem by
- always using the in memory config if it is configured
- moving the check for a :backend config save to the file config backend

It also removes the contents of the config items being saved from the
log which saves confidential tokens being logged.

Fixes #5451
2021-07-20 12:09:38 +01:00
..
configfile_other.go config: Wrap config library in an interface 2021-03-11 17:29:26 +00:00
configfile_test.go config: fix issues with memory-only config file paths 2021-04-12 18:17:19 +02:00
configfile_unix.go config: Wrap config library in an interface 2021-03-11 17:29:26 +00:00
configfile.go config: fix in memory config not saving on the fly backend config 2021-07-20 12:09:38 +01:00