Skip to content

Conversation

aaronn
Copy link
Owner

@aaronn aaronn commented Nov 17, 2020

• Hopefully addresses #77

  • We now relax the unique constraint. This constraint wasn't great because there will eventually be many is_active=False entries with the same key– and this will throw an IntegrityError.
  • We now retry N times before throwing an ValidationError. this can be configured with the PASSWORDLESS_TOKEN_GENERATION_ATTEMPTS setting.

…ique constraint to accomodate multiple false tokens of the same type.
@aaronn aaronn merged commit 0a382e9 into master Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant