mirror of
https://github.com/tgbot-collection/YYeTsBot.git
synced 2025-11-25 03:15:05 +08:00
fix dead screen
This commit is contained in:
@@ -201,7 +201,8 @@ class UserHandler(BaseHandler):
|
||||
if username:
|
||||
data = self.instance.get_user_info(username)
|
||||
else:
|
||||
self.set_status(HTTPStatus.UNAUTHORIZED)
|
||||
# self.set_status(HTTPStatus.UNAUTHORIZED)
|
||||
self.clear_cookie("username")
|
||||
data = {"message": "Please try to login"}
|
||||
return data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user