Authentication: Fix import after upstream converted some files to ESM

This commit is contained in:
yu-i-i
2026-09-22 02:41:38 +02:00
parent b50ef8c754
commit 1b6e9fc501
8 changed files with 16 additions and 16 deletions
@@ -4,9 +4,9 @@ import passport from 'passport'
import AuthenticationController from '../../../../../app/src/Features/Authentication/AuthenticationController.mjs'
import SAMLAuthenticationManager from './SAMLAuthenticationManager.mjs'
import UserController from '../../../../../app/src/Features/User/UserController.mjs'
import UserSessionsManager from '../../../../../app/src/Features/User/UserSessionsManager.js'
import { handleAuthenticateErrors } from '../../../../../app/src/Features/Authentication/AuthenticationErrors.js'
import { xmlResponse } from '../../../../../app/src/infrastructure/Response.js'
import UserSessionsManager from '../../../../../app/src/Features/User/UserSessionsManager.mjs'
import { handleAuthenticateErrors } from '../../../../../app/src/Features/Authentication/AuthenticationErrors.mjs'
import { xmlResponse } from '../../../../../app/src/infrastructure/Response.mjs'
import { readFilesContentFromEnv } from '../../../utils.mjs'
const SAMLAuthenticationController = {
@@ -1,8 +1,8 @@
import Settings from '@overleaf/settings'
import UserCreator from '../../../../../app/src/Features/User/UserCreator.mjs'
import { ParallelLoginError } from '../../../../../app/src/Features/Authentication/AuthenticationErrors.js'
import { ParallelLoginError } from '../../../../../app/src/Features/Authentication/AuthenticationErrors.mjs'
import SAMLIdentityManager from '../../../../../app/src/Features/User/SAMLIdentityManager.mjs'
import { User } from '../../../../../app/src/models/User.js'
import { User } from '../../../../../app/src/models/User.mjs'
const SAMLAuthenticationManager = {
async findOrCreateUser(profile, auditLog) {