Merge pull request #29919 from overleaf/revert-29795-ar-last-infrastructure-conversions

Revert "[web] last infrastructure conversions"

GitOrigin-RevId: 48dc64553012afb5d2db4b2eb9c9898489b7e5ef
This commit is contained in:
Andrew Rumble
2025-11-27 09:05:54 +00:00
committed by Copybot
parent 381460936b
commit 18f44866e5
279 changed files with 927 additions and 969 deletions
@@ -8,7 +8,7 @@ import metrics from '@overleaf/metrics'
import AuthenticationManager from '../Authentication/AuthenticationManager.mjs'
import SessionManager from '../Authentication/SessionManager.mjs'
import Features from '../../infrastructure/Features.mjs'
import { z, validateReq } from '../../infrastructure/Validation.mjs'
import { z, validateReq } from '../../infrastructure/Validation.js'
import UserAuditLogHandler from './UserAuditLogHandler.mjs'
import UserSessionsManager from './UserSessionsManager.mjs'
import UserUpdater from './UserUpdater.mjs'
@@ -19,8 +19,8 @@ import EmailHandler from '../Email/EmailHandler.mjs'
import UrlHelper from '../Helpers/UrlHelper.mjs'
import { promisify } from 'node:util'
import { expressify } from '@overleaf/promise-utils'
import { acceptsJson } from '../../infrastructure/RequestContentTypeDetection.mjs'
import Modules from '../../infrastructure/Modules.mjs'
import { acceptsJson } from '../../infrastructure/RequestContentTypeDetection.js'
import Modules from '../../infrastructure/Modules.js'
import OneTimeTokenHandler from '../Security/OneTimeTokenHandler.mjs'
async function _sendSecurityAlertClearedSessions(user) {