Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ππ¨
Authentication
Prevent a condition when double-tapping sign-in
- #1809 OK, so my working assumption is that the bug is caused by two requests being processed at the same time for a new email address, and the first one creates the `AuthenticationMethod` and the second one *tries* to, and fails; resulting in the validation error. This fixes the racecondition at the controller level, but I think we want to do it at in AuthenticatedSession#save instead...
- Loading branch information