Skip to content

Commit 341d4d1

Browse files
committed
Update form parameters to match new identifiers
1 parent 8933b28 commit 341d4d1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/authenticate.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,9 @@ async function login(
9494
) {
9595
const form_params = new URLSearchParams({
9696
csrfmiddlewaretoken: csrfmiddlewaretoken,
97-
login_password: password,
98-
login_redirect: "/",
99-
login_username: username,
100-
login: "",
97+
next: "/",
98+
password: password,
99+
username: username,
101100
});
102101

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

0 commit comments

Comments
 (0)