« Previous | Next » 

Revision 7b0f970f

ID7b0f970f900fc65359c63ec5ec7406cf9ddb5949

Added by Giorgos Korfiatis almost 9 years ago

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 token
is in use.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences