We need to know the preRequestUserState to be able to decide if the login is a recovery login
Details
Details
- Reviewers
varun - Commits
- rCOMM4b6ffdaba055: [lib] Add preRequestUserState to identity login
Checked in the reducer that the value is present
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- inka/local_minimal_testing_multiple_keyservers
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/types/identity-service-types.js | ||
---|---|---|
159 | should this be optional and non-nullable? confused why flow doesn't complain that the other hooks that return Promise<IdentityAuthResult> like useIdentityPasswordRegister() aren't returning a preRequestUserState key |
lib/types/identity-service-types.js | ||
---|---|---|
159 | I've also noticed that Flow gets this wrong sometimes |
lib/types/identity-service-types.js | ||
---|---|---|
159 | Yes, you are right, it should be both optional and nullable |
lib/actions/user-actions.js | ||
---|---|---|
547 ↗ | (On Diff #38439) | think this can be simplified, right? |