Fix gmail auth dialog popping up over and over again.
ClosedPublic

Authored by dfaure on Aug 14 2018, 8:05 PM.

Details

Summary

This happened when entering "david.faure" as username in the
account dialog, without "@gmail.com".

Normalize gmail username so that it matches the JSON account info
returned by GMail authentication.

Test Plan

Entering david.faure as username and saving,
leads to gmail.com appended (both in the auth dialog and when reopening
the account configuration dialog).

Diff Detail

Repository
R44 KDE PIM Runtime
Branch
Applications/18.08
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1859
Build 1877: arc lint + arc unit
dfaure created this revision.Aug 14 2018, 8:05 PM
Restricted Application added a project: KDE PIM. · View Herald TranscriptAug 14 2018, 8:05 PM
Restricted Application edited subscribers, added: kde-pim; removed: KDE PIM. · View Herald Transcript
dfaure requested review of this revision.Aug 14 2018, 8:05 PM
dvratil accepted this revision.Aug 14 2018, 9:37 PM
This revision is now accepted and ready to land.Aug 14 2018, 9:37 PM
dfaure closed this revision.Aug 14 2018, 10:26 PM