Skip to content
  • Giorgos Korfiatis's avatar
    astakos: Impose uniqueness on auth_token · bc25d966
    Giorgos Korfiatis authored
    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.
    bc25d966