Bug 409213

Summary: Prefer the saved auth token to login over a password
Product: [Applications] Ruqola Reporter: Christian Dywan <cdywan>
Component: backendAssignee: Laurent Montel <montel>
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian Dywan 2019-06-26 14:58:17 UTC
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.
Comment 1 Christian Dywan 2019-06-26 15:06:03 UTC
Comment 2 Laurent Montel 2019-06-27 04:50:53 UTC
could you use https://phabricator.kde.org/ + arc (https://community.kde.org/Infrastructure/Phabricator). So we can speak about your patch.
Comment 3 Laurent Montel 2019-06-28 12:03:20 UTC
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).

Reviewers: mlaurent

Reviewed By: mlaurent

Subscribers: mlaurent

Differential Revision: https://phabricator.kde.org/D22112

M  +6    -6    src/ruqolacore/ddpapi/ddpclient.cpp