mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 06:38:46 +00:00
Fix: pass user/pass as strings with OMV proxy (#2555)
This commit is contained in:
parent
aa7cfa58ff
commit
1c47d9d70e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue