mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Fix: pass user/pass as strings with OMV proxy (#2555)
This commit is contained in:
parent
aa7cfa58ff
commit
1c47d9d70e
@ -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…
x
Reference in New Issue
Block a user