mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 20:25:43 +00:00
Check v2 workspace membership routes (currently not routed)
This commit is contained in:
@@ -45,7 +45,8 @@ const requireMembershipAuth = ({
|
||||
});
|
||||
|
||||
req.targetMembership = targetMembership;
|
||||
|
||||
|
||||
return next();
|
||||
} catch (err) {
|
||||
return next(UnauthorizedRequestError({
|
||||
message: 'Unable to validate workspace membership'
|
||||
|
||||
Reference in New Issue
Block a user