-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push newAnchor into LoginData (#2278)
The authentication flow returns whether the user authenticated with a new or existing anchor. This data is used tailor subsequent flows to new vs returning users. Originally this information was added to all return types (success & error alike) for simplicity, although it only ever makes sense to return it upon successful authentication (until now we just defaulted to "not a new anchor" upon failures). As we start passing more data through the flow (like whether the user used PIN or not) this shortcut became a bit problematic, so these changes push the `newAnchor` information deeper into the success state.
- Loading branch information
Showing
2 changed files
with
32 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters