add return values to backend docstring,
fix return values of all backends
This commit is contained in:
1 parent
b12f38e608
commit
01f55aa0cb
6 files changed
+64
-83
No files matched your search
@@ -64,10 +64,6 @@ router.post("/ticket", async (req, res) => {
|
||||
const userObj = global.utils.getUserObjFromUsername(params.username);
|
||||
let backends = global.userManager.getBackendsByUser(userObj);
|
||||
backends = backends.concat(["pve"]);
|
||||
// const backends = [global.pve, global.db];
|
||||
// if (userRealm in global.auth) {
|
||||
// backends.push(global.auth[userRealm]);
|
||||
// }
|
||||
const cm = new CookieFetcher();
|
||||
const success = await cm.fetchBackends(backends, userObj, params.password);
|
||||
if (!success) {
|
||||
|
||||
Reference in new issue
Block a user