This is especially noticeable in connection with 2FA-enabled accounts (bug 409212). As the password is currently checked first, existing tokens are effectively ignored and login happens from scratch every time Ruqola is started.
could you use https://phabricator.kde.org/ + arc (https://community.kde.org/Infrastructure/Phabricator). So we can speak about your patch.
Git commit a3f0e539cc41e5f559353ea6fc9a5edd60bb7a3e by Laurent Montel.
Committed on 28/06/2019 at 12:01.
Pushed by mlaurent into branch 'arcpatch-D22112'.
Patch from Christian Dywan
Prefer logging in via the saved auth token
This in particular avoids re-authenticating with a 2FA code every time Ruqola is opened (see bug 409212).
Reviewed By: mlaurent
Differential Revision: https://phabricator.kde.org/D22112
M +6 -6 src/ruqolacore/ddpapi/ddpclient.cpp