You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current way legal page agreements are checked is highly inefficient, because a query is run on every non-xhr request for logged in users. This is implemented as a middleware.
This can be improved to check for such condition after users have been authenticated (both in normal and social accounts) but before signing them in. Modifying legal pages could invalidate existing sessions to force accepting any new/updated conditions, should that be needed
Going through a ToS acceptance flow should redirect users back to the page that signing in would redirect them to.
As a start, and to avoid confusion, the LEGALPAGE_NOCHECK_PREFIXES setting from staticpages can be moved to a constant.
The text was updated successfully, but these errors were encountered:
julen
added a commit
to julen/zing
that referenced
this issue
Mar 26, 2018
The current way legal page agreements are checked is highly inefficient, because a query is run on every non-xhr request for logged in users. This is implemented as a middleware.
This can be improved to check for such condition after users have been authenticated (both in normal and social accounts) but before signing them in. Modifying legal pages could invalidate existing sessions to force accepting any new/updated conditions, should that be needed
Going through a ToS acceptance flow should redirect users back to the page that signing in would redirect them to.
As a start, and to avoid confusion, the
LEGALPAGE_NOCHECK_PREFIXES
setting from staticpages can be moved to a constant.The text was updated successfully, but these errors were encountered: