From bb53a42d4f965fee654295864834d6d642b2b0aa Mon Sep 17 00:00:00 2001 From: 21pages Date: Tue, 20 Jun 2023 08:57:17 +0800 Subject: [PATCH] fix sciter account login Signed-off-by: 21pages --- src/ui/index.tis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/index.tis b/src/ui/index.tis index 9431d98f4..669cc1b29 100644 --- a/src/ui/index.tis +++ b/src/ui/index.tis @@ -1195,7 +1195,7 @@ function login() { } abLoading = true; var url = handler.get_api_server(); - httpRequest(url + "/api/login", #post, {username: name, password: pass, id: my_id, uuid: handler.get_uuid()}, function(data) { + httpRequest(url + "/api/login", #post, {username: name, password: pass, id: my_id, uuid: handler.get_uuid(), type: 'account'}, function(data) { if (data.error) { abLoading = false; var err = translate(data.error);