add per instance resource quotas,
move getFullInstanceConfig to utils.js, rework resource related utilities to use new quota format
This commit is contained in:
1 parent
23cb635b75
commit
f40d1aee79
7 files changed
+235
-136
No files matched your search
+1
-1
@@ -67,7 +67,7 @@ router.post("/password", async (req, res) => {
|
||||
password: req.body.password,
|
||||
userid: req.cookies.username
|
||||
};
|
||||
|
||||
|
||||
const userRealm = params.userid.split("@").at(-1);
|
||||
const domains = (await requestPVE("/access/domains", "GET", pveAPIToken)).data.data;
|
||||
const realm = domains.find((e) => e.realm === userRealm);
|
||||
|
||||
Reference in new issue
Block a user