mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-02 10:40:25 +02:00
Converting to use both inline and shared policy
This commit is contained in:
@@ -188,6 +188,9 @@ export async function exchangeSession(
|
||||
userSessionId: requestSession.userSessionId,
|
||||
whitelistId: requestSession.whitelistId,
|
||||
accessTokenId: requestSession.accessTokenId,
|
||||
policyPasswordId: requestSession.policyPasswordId,
|
||||
policyPincodeId: requestSession.policyPincodeId,
|
||||
policyWhitelistId: requestSession.policyWhitelistId,
|
||||
doNotExtend: false,
|
||||
expiresAt: expires,
|
||||
sessionLength: RESOURCE_SESSION_COOKIE_EXPIRES
|
||||
|
||||
@@ -876,6 +876,10 @@ function allowed(
|
||||
message: "Access allowed",
|
||||
status: HttpCode.OK
|
||||
};
|
||||
logger.debug(
|
||||
"++++++++++++++++++++++++++++++++++Access allowed, response data:",
|
||||
data
|
||||
);
|
||||
return response<VerifyUserResponse>(res, data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user