Skip to content

Commit

Permalink
Merge pull request #870 from felddy/bugfix/issue-868
Browse files Browse the repository at this point in the history
Update login form parameters to match new identifiers on site
  • Loading branch information
felddy authored Jan 5, 2024
2 parents 8933b28 + 341d4d1 commit cc6f477
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/authenticate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,9 @@ async function login(
) {
const form_params = new URLSearchParams({
csrfmiddlewaretoken: csrfmiddlewaretoken,
login_password: password,
login_redirect: "/",
login_username: username,
login: "",
next: "/",
password: password,
username: username,
});

logger.info(`Logging in as: ${username}`);
Expand Down

0 comments on commit cc6f477

Please sign in to comment.