This commit is contained in:
Timo Hocker 2020-03-06 17:21:58 +01:00
parent 6ba687d4ae
commit a05a67fa6f

View File

@ -25,7 +25,7 @@ async function login (user, password, host = '') {
const salt_str = await fetch (`${host}/auth`, { headers: { user } })
.then (async (res) => {
if (res.status !== http_consts.status_ok)
return '');
return '';
return await res.text ();
});