forked from rDrama/rDrama
fix console error on reply
parent
b989a46497
commit
0360b23805
|
@ -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']):
|
||||
|
|
Loading…
Reference in New Issue