Skip to content

Commit

Permalink
fix: do not encode username, password (#852)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzemp committed Jun 18, 2024
1 parent c6bba2e commit 2fb4272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapter/src/components/LoginModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const loginWithNewEndpoints = async ({
await postJSON(
`${server}/api/auth/login`,
JSON.stringify({
username: encodeURIComponent(username),
password: encodeURIComponent(password),
username,
password,
})
)
window.location.reload()
Expand Down

0 comments on commit 2fb4272

Please sign in to comment.