HomePhabricator
Diffusion Comm 56df56c1c2e1

[web] handle case where user needs to log in from native first

Description

[web] handle case where user needs to log in from native first

Summary:
an unknown error here is not very helpful, so we should explain to the user why login failed and instruct them to try from native

would normally add @ashoat since this diff introduces new copy. happy to incorporate any feedback when he returns

Depends on D12544

Test Plan:
tested later in stack by registering a password and wallet user directly with my keyserver, which in turn called identity and added the address and username to the reserved usernames table

then, i flipped usingCSAT to true and tried logging in from web, which failed and displayed a message saying to log in from a mobile device

Screenshot 2024-06-21 at 8.13.05 PM.png (1×1 px, 166 KB)

Reviewers: inka, ginsu

Reviewed By: inka

Subscribers: tomek, ashoat

Differential Revision: https://phab.comm.dev/D12545

Details

Provenance
varunAuthored on Jun 21 2024, 10:37 AM
Reviewer
inka
Differential Revision
D12545: [web] handle case where user needs to log in from native first
Parents
rCOMM83b24d3002f2: [identity] fix reserved username workflow for wallet users
Branches
Unknown
Tags
Unknown