增强安全性

This commit is contained in:
evilbeast
2022-09-28 10:56:35 +08:00
parent 734eab020e
commit ae450372b1
6 changed files with 26 additions and 5 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ async def client_create():
response_model=models.ResponseModel)
@catch_exception()
async def client_open(model: models.ClientOpenReqModel):
ret = client_mgr.get_client(model.guid).open(model.smart)
ret = client_mgr.get_client(model.guid).open(model.smart, model.show_login_qrcode)
return response_json(1 if ret else 0)