Display an error message when there is a failure while logging into a 2FA protected password in /e/OS
- /e/ version: all
- Device model(s): all
Summary
Description
What is the current behavior?
For now, the user can't know the Account Manager doesn't support 2FA and that an app password has to be created and used.
It's only mentioned on the following tutorial: https://doc.e.foundation/how-tos/two-factor-authentication#using-an-application-password-for-the-eos-account-manager
With #3528 (closed) we'll display a tooltip so the user has a clue they need to set up an app password in the cloud settings if they have enabled 2FA.
What is the improved behavior?
When the user tries to connect and the cloud sends a response indicating it's an account with 2FA, display an error pop-up saying:
!
App password requiredYour account is protected with Two-Factor Authentication.
In order to setup your account within /e/OS with this option enabled you need to create an application password in your account settings at murena.io.
[LATER] [VIEW MORE]
The [LATER] button closes the pop-up.
the [VIEW MORE] button sends the user to the documentation explaining how to do so in a Webview.
What does it bring?
It will help people understand why they can't login.