latest batch of fixes after frontend testing - almost done?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 16m29s
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 16m29s
This commit is contained in:
@@ -375,7 +375,7 @@ export const requireAuth = (req: Request, res: Response, next: NextFunction) =>
|
||||
passport.authenticate(
|
||||
'jwt',
|
||||
{ session: false },
|
||||
(err: Error | null, user: Express.User | false, info: { message: string } | Error) => {
|
||||
(err: Error | null, user: UserProfile | false, info: { message: string } | Error) => {
|
||||
if (err) {
|
||||
// An actual error occurred during authentication
|
||||
req.log.error({ error: err }, 'Authentication error');
|
||||
|
||||
Reference in New Issue
Block a user