History | View | Annotate | Download (24.8 kB)
astakos: Impose uniqueness on auth_token
Add uniqueness constraint in AstakosUser and Component models.Before that, invalidate (set to None) any duplicate tokens.
When renewing a token, retry a couple of times, if generated tokenis in use.