fix sciter account login

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-06-20 08:57:17 +08:00
parent 148534540b
commit bb53a42d4f

View File

@ -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);