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) {
|
async openSession (user, password) {
|
||||||
const uid = user.id;
|
const username = user.id;
|
||||||
const content = { uid, password };
|
const content = { username, password };
|
||||||
const result = await this.#request("/ticket", "POST", null, content);
|
const result = await this.#request("/ticket", "POST", null, content);
|
||||||
if (result.ok) {
|
if (result.ok) {
|
||||||
const cookies = setCookie.parse(result.headers["set-cookie"]);
|
const cookies = setCookie.parse(result.headers["set-cookie"]);
|
||||||
|
Loading…
Reference in New Issue
Block a user