We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc8667 commit e19a282Copy full SHA for e19a282
astrbot/dashboard/routes/auth.py
@@ -64,9 +64,7 @@ async def edit_account(self):
64
new_pwd = post_data.get("new_password", None)
65
new_username = post_data.get("new_username", None)
66
if not new_pwd and not new_username:
67
- return (
68
- Response().error("新用户名和新密码不能同时为空").__dict__
69
- )
+ return Response().error("新用户名和新密码不能同时为空").__dict__
70
71
# Verify password confirmation
72
if new_pwd:
0 commit comments