« Previous | Next » 

Revision ef1fb98b

IDef1fb98b2b888215f80f7e2e1d1663801046d624

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences