mirror of
https://github.com/qwerfd2/Groove_Coaster_2_Server.git
synced 2025-12-24 04:30:25 +00:00
fixes
This commit is contained in:
@@ -253,6 +253,8 @@ async def should_serve(decrypted_fields):
|
||||
|
||||
if AUTHORIZATION_MODE and should_serve:
|
||||
user_info, _ = await decrypt_fields_to_user_info(decrypted_fields)
|
||||
if not user_info:
|
||||
return False
|
||||
bind_info = await get_bind(user_info["id"])
|
||||
if not bind_info or bind_info['is_verified'] != 1:
|
||||
should_serve = False
|
||||
|
||||
Reference in New Issue
Block a user