From 85b8ae8560825cf6ab51efb1744e8d8279bc870e Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Thu, 20 Jun 2024 03:18:52 +0000 Subject: [PATCH] update paasldap backend --- src/backends/paasldap.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/paasldap.js b/src/backends/paasldap.js index 4cb58c5..7140aa4 100644 --- a/src/backends/paasldap.js +++ b/src/backends/paasldap.js @@ -46,8 +46,8 @@ export default class PAASLDAP extends AUTH_BACKEND { } async openSession (user, password) { - const uid = user.id; - const content = { uid, password }; + const username = user.id; + const content = { username, password }; const result = await this.#request("/ticket", "POST", null, content); if (result.ok) { const cookies = setCookie.parse(result.headers["set-cookie"]);