forked from rDrama/rDrama
1
0
Fork 0

fix console error on reply

master
Aevann 2024-05-17 00:07:31 +03:00
parent b989a46497
commit 0360b23805
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ def get_logged_in_user():
else:
session.pop("lo_user")
if request.path not in {'/contact', '/reply'} and v and v.is_underage:
if request.path not in {'/contact', '/reply', '/socket.io/'} and v and v.is_underage:
abort(406)
if request.method != "GET" and get_setting('read_only_mode') and not (v and v.admin_level >= PERMS['BYPASS_SITE_READ_ONLY_MODE']):