Skip to content

Commit

Permalink
Fix: pass user/pass as strings with OMV proxy (#2555)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon authored Jan 1, 2024
1 parent aa7cfa5 commit 1c47d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/openmediavault/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function tryLogin(widget) {
const resp = await rpc(url, {
method: "login",
service: "session",
params: { username, password },
params: { username: username.toString(), password: password.toString() },
});

if (resp.status !== 200) {
Expand Down

0 comments on commit 1c47d9d

Please sign in to comment.