Fix: pass user/pass as strings with OMV proxy
This commit is contained in:
parent
ccad62b5c2
commit
a4d6a4564c
@ -64,7 +64,7 @@ async function tryLogin(widget) {
|
|||||||
const resp = await rpc(url, {
|
const resp = await rpc(url, {
|
||||||
method: "login",
|
method: "login",
|
||||||
service: "session",
|
service: "session",
|
||||||
params: { username, password },
|
params: { username: username.toString(), password: password.toString() },
|
||||||
});
|
});
|
||||||
|
|
||||||
if (resp.status !== 200) {
|
if (resp.status !== 200) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user