fix sciter account login
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
148534540b
commit
bb53a42d4f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue