mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 22:46:24 +00:00
feat(rbac): fixed merge conflicts and resolved some more issues with permission checks
This commit is contained in:
@@ -201,14 +201,6 @@ export const logout = async (req: Request, res: Response) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const getCommonPasswords = async (req: Request, res: Response) => {
|
||||
const commonPasswords = fs
|
||||
.readFileSync(path.resolve(__dirname, "../../data/" + "common_passwords.txt"), "utf8")
|
||||
.split("\n");
|
||||
|
||||
return res.status(200).send(commonPasswords);
|
||||
};
|
||||
|
||||
export const revokeAllSessions = async (req: Request, res: Response) => {
|
||||
await TokenVersion.updateMany(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user