ethereum/clrfund

Showing "Get Registered" step with a registered user

pettinarip opened this issue · 1 comments

How to reproduce:

  1. Go to /verify
  2. Use a verified and registered user
  3. Click on "I have BrightID installed"
  4. Will transition to the last step, the "Get Registered" step

It should show the following page, not the "Get Registered" step since we are using an already registered user:
image

The problem seems to be that we are not fetching the user state when we load the verify page directly.

Closing since this is working fine.

The problem described here occurs with accounts that are old context ids of the same brightid account.
https://github.com/ethereum/clrfund/blob/develop/contracts/contracts/userRegistry/BrightIdUserRegistry.sol#L104
The contract set them as verifications[_addrs[i]].isVerified = false;

No real user should reach this state, since they should not be able to pass the verified step. In this case, I was using a test account that was verified manually using the testing app https://acolytec3.github.io/brightid_test_app/