mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-21 08:28:22 +00:00
feat(infisical-pg): fixed ts issue on passport type change
This commit is contained in:
@@ -114,7 +114,6 @@ export const registerSsoRouter = async (server: FastifyZodProvider) => {
|
||||
authMethod: AuthMethod.GITLAB,
|
||||
callbackPort: req.query.state as string
|
||||
});
|
||||
console.log({ isUserCompleted, providerAuthToken });
|
||||
|
||||
return cb(null, { isUserCompleted, providerAuthToken });
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ export const registerSignupRouter = async (server: FastifyZodProvider) => {
|
||||
...req.body,
|
||||
ip: req.realIp,
|
||||
userAgent,
|
||||
authorization: req.headers.authorization
|
||||
authorization: req.headers.authorization as string
|
||||
});
|
||||
|
||||
res.setCookie("jid", refreshToken, {
|
||||
|
||||
Reference in New Issue
Block a user