Skip to content
  • Giorgos Korfiatis's avatar
    astakos: Reset user sign flags when adding new terms · 361ec44d
    Giorgos Korfiatis authored
    When new terms are added, set has_signed_terms=False for all users, forcing
    them to accept the new terms. If there are no terms, a new user is created
    with has_signed_terms=True.
    
    With this change we can skip querying the terms when authenticating a user,
    speeding up POST /tokens.
    361ec44d