anonstream/anonstream/routes
n9k b1f5bbdecd Force absent users to do the access captcha again
Before this, if a request was not coming from an existing user (no token
in the request or no user with the given token), then and only then
would we send the access captcha.  This meant that if a user left a chat
message and became absent, they wouldn't be prompted to do the access
captcha again until their message was eventuallly rotated.  (While
messages exist we don't delete the users who posted them.)

This commit makes it so if user['verified'] is None, the user is kicked
and prompted with the access captcha.  This is automatically done for
absent users by a background task.
2022-07-20 07:55:32 +00:00
..
__init__.py Rename errors.py -> error.py 2022-06-29 04:30:27 +00:00
core.py Emotes: one emote, one file 2022-07-20 07:37:33 +00:00
error.py Rename errors.py -> error.py 2022-06-29 04:30:27 +00:00
nojs.py Emotes: one emote, one file 2022-07-20 07:37:33 +00:00
websocket.py Allowedness: check (in) websockets 2022-07-03 08:53:02 +00:00
wrappers.py Force absent users to do the access captcha again 2022-07-20 07:55:32 +00:00