fix
This commit is contained in:
parent
a05a67fa6f
commit
22d1c984d5
3
index.js
3
index.js
@ -27,7 +27,8 @@ async function login (user, password, host = '') {
|
|||||||
if (res.status !== http_consts.status_ok)
|
if (res.status !== http_consts.status_ok)
|
||||||
return '';
|
return '';
|
||||||
|
|
||||||
return await res.text ();
|
const session_id = await res.text ();
|
||||||
|
return session_id;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (salt_str === '')
|
if (salt_str === '')
|
||||||
|
Reference in New Issue
Block a user