We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plugins.api.API.login
The body for the login request is constructed like this:
const body = `username=${username}&password=${password}`; const response = await this._fetch({ url: url, method: 'POST', body: encodeURI(body), headers: {'Content-Type': 'application/x-www-form-urlencoded'} });
This is incorrect and prevents users from logging in, if the password starts with a $.
$
The text was updated successfully, but these errors were encountered:
Encode credentials correctly in login request (fixes #134)
1dc1f7d
a8b51cd
crazyscientist
No branches or pull requests
The body for the login request is constructed like this:
This is incorrect and prevents users from logging in, if the password starts with a
$
.The text was updated successfully, but these errors were encountered: