Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
FIX: Any password should be usable for the annotation service (fixes #87
Browse files Browse the repository at this point in the history
)
  • Loading branch information
benel committed Nov 18, 2019
1 parent 43269ed commit b5a3a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backgroundScripts/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const model = (function () {
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
body:`name=${user}&password=${password}`,
body:`name=${user}&password=${encodeURI(password)}`,
credentials:'include'
}))
.then((x) => {
Expand Down

0 comments on commit b5a3a8e

Please sign in to comment.