« Previous | Next » 

Revision ef1fb98b


Added by Giorgos Korfiatis over 10 years ago

astakos: Reset user sign flags when adding new terms

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.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences