<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>409213</bug_id>
          
          <creation_ts>2019-06-26 14:58:17 +0000</creation_ts>
          <short_desc>Prefer the saved auth token to login over a password</short_desc>
          <delta_ts>2019-06-28 12:03:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>Ruqola</product>
          <component>backend</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Christian Dywan">cdywan</reporter>
          <assigned_to name="Laurent Montel">montel</assigned_to>
          
          
          <cf_commitlink>https://commits.kde.org/ruqola/a3f0e539cc41e5f559353ea6fc9a5edd60bb7a3e</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1865718</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Dywan">cdywan</who>
    <bug_when>2019-06-26 14:58:17 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1865721</commentid>
    <comment_count>1</comment_count>
    <who name="Christian Dywan">cdywan</who>
    <bug_when>2019-06-26 15:06:03 +0000</bug_when>
    <thetext>https://phabricator.kde.org/differential/diff/60695/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1865808</commentid>
    <comment_count>2</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2019-06-27 04:50:53 +0000</bug_when>
    <thetext>Hi,
could you use https://phabricator.kde.org/ + arc (https://community.kde.org/Infrastructure/Phabricator). So we can speak about your patch.
Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1866055</commentid>
    <comment_count>3</comment_count>
    <who name="Laurent Montel">montel</who>
    <bug_when>2019-06-28 12:03:20 +0000</bug_when>
    <thetext>Git commit a3f0e539cc41e5f559353ea6fc9a5edd60bb7a3e by Laurent Montel.
Committed on 28/06/2019 at 12:01.
Pushed by mlaurent into branch &apos;arcpatch-D22112&apos;.

Patch from Christian Dywan

Prefer logging in via the saved auth token

Summary:
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

https://commits.kde.org/ruqola/a3f0e539cc41e5f559353ea6fc9a5edd60bb7a3e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>