add values for existingUser/resendingVerificationEmail #73

Merged
neb-b merged 2 commits from existing-user into master 2019-11-06 01:24:06 +01:00
neb-b commented 2019-10-28 18:23:36 +01:00 (Migrated from github.com)

I also added a temporary value for tracking bad passwords. This will be changed once we have a bad password error code.

I also added a temporary value for tracking bad passwords. This will be changed once we have a bad password error code.
akinwale (Migrated from github.com) approved these changes 2019-11-05 20:08:38 +01:00
akinwale (Migrated from github.com) left a comment

Apart from the sync_apply error handling, this looks good.

Apart from the `sync_apply` error handling, this looks good.
@ -145,0 +148,4 @@
if (password !== '') {
dispatch({ type: ACTIONS.SYNC_APPLY_BAD_PASSWORD });
}
akinwale (Migrated from github.com) commented 2019-11-05 20:08:12 +01:00

This seems quite ugly. It's still quite possible, although rare for sync_apply to fail for other reasons. I guess we could just assume every failure is a bad password failure so that the user can try again.

This seems quite ugly. It's still quite possible, although rare for `sync_apply` to fail for other reasons. I guess we could just assume every failure is a bad password failure so that the user can try again.
kauffj (Migrated from github.com) reviewed 2019-11-05 21:41:37 +01:00
@ -145,0 +148,4 @@
if (password !== '') {
dispatch({ type: ACTIONS.SYNC_APPLY_BAD_PASSWORD });
}
kauffj (Migrated from github.com) commented 2019-11-05 21:41:37 +01:00
https://github.com/lbryio/lbry-sdk/issues/2175
neb-b (Migrated from github.com) reviewed 2019-11-06 01:24:01 +01:00
@ -145,0 +148,4 @@
if (password !== '') {
dispatch({ type: ACTIONS.SYNC_APPLY_BAD_PASSWORD });
}
neb-b (Migrated from github.com) commented 2019-11-06 01:24:01 +01:00

Yeah I agree. I intend to change this once https://github.com/lbryio/lbry-sdk/issues/2175 is resolved.

Yeah I agree. I intend to change this once https://github.com/lbryio/lbry-sdk/issues/2175 is resolved.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbryinc#73
No description provided.