mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-07 08:02:30 -06:00
WebUI: disallow unnecessary quotes in property name
Those two forms are the same and from now on we enforce to one style. PR #22051.
This commit is contained in:
@@ -40,8 +40,8 @@ const submitLoginForm = (event) => {
|
||||
fetch("api/v2/auth/login", {
|
||||
method: "POST",
|
||||
body: new URLSearchParams({
|
||||
"username": usernameElement.value,
|
||||
"password": passwordElement.value
|
||||
username: usernameElement.value,
|
||||
password: passwordElement.value
|
||||
})
|
||||
})
|
||||
.then(async (response) => {
|
||||
|
||||
Reference in New Issue
Block a user