Migrate http_user to webflow_user and dav_user.
authorCamila <hello@camila.codes>
Tue, 15 Aug 2023 16:20:18 +0000 (18:20 +0200)
committerCamila <hello@camila.codes>
Fri, 1 Sep 2023 13:09:28 +0000 (15:09 +0200)
commitf69dea0a9417828291e2e64c8f5c04b370ae7c02
tree519e3390a47ff576cc61ce44d15c3439544516ed
parentf5cdb5db75a4fca7b06cbf2df75328abbeb4848d
Migrate http_user to webflow_user and dav_user.

- Add {} for single line condition, const auto and fix comments.
- Save the legacy account data first in _settingsMap, so the legacy config file
does not get changed in the migration process.
- Legacy dav_user should stay only as dav_user in the new config.
- Compare davUser and prettyName only when new user id needs to be retrieved.

Signed-off-by: Camila <hello@camila.codes>
src/gui/accountmanager.cpp
src/gui/creds/webflowcredentials.cpp
src/gui/userinfo.cpp