9dbed02329
Existing version did save username in config, but only when entering the custom device/mountpoint sequence in config. Regardless of that, it did always look up the username at startup with an api request. This commit improves it so that the username will always be stored in config, and when using standard authentication it picks it from the login token instead of requesting it from the remote api, and also in fs constructor it picks it from config instead of requesting it from remote api (again). |
||
---|---|---|
.. | ||
api | ||
jottacloud.go | ||
jottacloud_internal_test.go | ||
jottacloud_test.go |