django-realtime
django-realtime copied to clipboard
Generate new token cookie when current token is invalid
When a token cookie is already set and you restart Redis, future authentications fail. It might be a good idea to get the token for the current user and to compare it with the token cookie before setting or not the cookie.