update paasldap backend
This commit is contained in:
parent
01f55aa0cb
commit
85b8ae8560
@ -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"]);
|
||||
|
Loading…
Reference in New Issue
Block a user