mirror of
https://github.com/sasjs/server.git
synced 2025-12-11 03:34:35 +00:00
chore: Merge branch 'main' into issue-139
This commit is contained in:
@@ -47,7 +47,7 @@ export const authenticateAccessToken: RequestHandler = async (
|
||||
req,
|
||||
res,
|
||||
nextFunction,
|
||||
process.env.ACCESS_TOKEN_SECRET as string,
|
||||
process.secrets.ACCESS_TOKEN_SECRET,
|
||||
'accessToken'
|
||||
)
|
||||
}
|
||||
@@ -57,7 +57,7 @@ export const authenticateRefreshToken: RequestHandler = (req, res, next) => {
|
||||
req,
|
||||
res,
|
||||
next,
|
||||
process.env.REFRESH_TOKEN_SECRET as string,
|
||||
process.secrets.REFRESH_TOKEN_SECRET,
|
||||
'refreshToken'
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user