fix sciter account login
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
148534540b
commit
bb53a42d4f
@ -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…
x
Reference in New Issue
Block a user