Check if the user has a backup. When they don't have it, use the v1 login flow.
https://linear.app/comm/issue/ENG-9620/client-restore-flow-fall-back-to-v1-when-missing-backup
Depends on D14165
Paths
| Differential D14180 Authored by tomek on Dec 20 2024, 9:04 AM.
Details Summary Check if the user has a backup. When they don't have it, use the v1 login flow. https://linear.app/comm/issue/ENG-9620/client-restore-flow-fall-back-to-v1-when-missing-backup Depends on D14165 Test Plan Because pf https://linear.app/comm/issue/ENG-10039/allow-checking-if-a-user-has-a-backup I had to hack it a bit: instead of calling retrieveLatestBackupInfo I hardcoded its return value to null. Then for both password and SIWE user verified that it is possible to log in.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptDec 20 2024, 9:04 AM2024-12-20 09:04:14 (UTC-8) Harbormaster completed remote builds in B33190: Diff 46594.Dec 20 2024, 9:22 AM2024-12-20 09:22:17 (UTC-8)
Comment Actions
I'm going to put up a diff which makes it behave as described in my inline comment
This revision is now accepted and ready to land.Jan 7 2025, 7:20 AM2025-01-07 07:20:47 (UTC-8)
Closed by commit rCOMM5b761cf201c9: [native] Fall back to v1 login when the user doesn't have a backup (authored by tomek). · Explain WhyJan 8 2025, 9:30 AM2025-01-08 09:30:08 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 46594 native/account/restore-password-account-screen.react.js
native/account/restore-prompt-screen.react.js
|