1
0
mirror of https://github.com/rclone/rclone.git synced 2025-01-24 12:56:36 +02:00
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
..
2020-10-14 15:21:31 +01:00
2018-08-21 10:58:59 +01:00
2021-04-27 02:25:52 +03:00
2021-06-14 14:42:49 +03:00
2021-06-14 14:42:49 +03:00
2019-06-19 11:59:46 +01:00
2021-06-14 14:42:49 +03:00
2021-06-14 14:42:49 +03:00
2021-06-14 14:42:49 +03:00
2021-06-14 14:42:49 +03:00
2021-03-31 19:51:43 +01:00