mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Fix attaching User/Groups headers for bypass strategy
This commit is contained in:
parent
87e06e6528
commit
c074270b54
|
@ -36,8 +36,6 @@ export default async function (req: Express.Request, res: Express.Response,
|
|||
const authorizationLevel = CheckAuthorizations(vars.authorizer, d.domain, d.path, username, groups, req.ip,
|
||||
authSession.authentication_level);
|
||||
|
||||
if (authorizationLevel > AuthorizationLevel.BYPASS) {
|
||||
CheckInactivity(req, authSession, vars.config, vars.logger);
|
||||
setUserAndGroupsHeaders(res, username, groups);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user