Closed davidpodhola closed 10 months ago
There was an annoying bug when users would fail to log in just after they were created. Also, we always required users to have an email.
Just try.
Please check if your merge request fulfills the following requirements:
yarn build
yarn api:dev
cd clients/admin && yarn start
The requests were coming at the same time and since the code is async, the commit would fail.
Start using sub instead of email (that allows users without emails to get in). Added a lock to allow user creation to finish.
TL;DR
There was an annoying bug when users would fail to log in just after they were created. Also, we always required users to have an email.
Proof
Just try.
Merge request checklist
Please check if your merge request fulfills the following requirements:
yarn build
) was run locally and any changes were pushed for both API and clientsyarn api:dev
) runs locally and any fixes were made for failurescd clients/admin && yarn start
) runs locally and any fixes were made for failuresMerge request type
Before this merge request
The requests were coming at the same time and since the code is async, the commit would fail.
How you fixed what was wrong
Start using sub instead of email (that allows users without emails to get in). Added a lock to allow user creation to finish.