Skip to content

Commit 8cb0420

Browse files
authored
Rename and move basic authentication service file (#1610)
Part of OPS-3003.
1 parent c98d931 commit 8cb0420

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/server/api/src/app/authentication/authentication.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { analyticsDashboardService } from '../openops-analytics/analytics-dashbo
1616
import { resolveOrganizationIdForAuthnRequest } from '../organization/organization-utils';
1717
import { userService } from '../user/user-service';
1818
import { analyticsAuthenticationService } from './analytics-authentication-service';
19-
import { authenticationService } from './authentication-service';
19+
import { authenticationService } from './basic/authentication-service';
2020
import {
2121
removeAuthCookiesAndReply,
2222
setAuthCookiesAndReply,

packages/server/api/src/app/authentication/authentication-service/index.ts renamed to packages/server/api/src/app/authentication/basic/authentication-service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ import {
99
UserStatus,
1010
} from '@openops/shared';
1111
import { userService } from '../../user/user-service';
12-
import { passwordHasher } from '../basic/password-hasher';
1312
import { getProjectAndToken } from '../context/create-project-auth-context';
1413
import { createUser } from '../new-user/create-user';
1514
import { assignDefaultOrganization } from '../new-user/organization-assignment';
15+
import { passwordHasher } from './password-hasher';
1616

1717
export const authenticationService = {
1818
async signUp(params: SignUpParams): Promise<AuthenticationResponse> {

packages/server/api/src/app/database/seeds/dev-seeds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { logger, SharedSystemProp, system } from '@openops/server-shared';
22
import { EnvironmentType, Provider } from '@openops/shared';
3-
import { authenticationService } from '../../authentication/authentication-service';
3+
import { authenticationService } from '../../authentication/basic/authentication-service';
44
import { FlagEntity } from '../../flags/flag.entity';
55
import { databaseConnection } from '../database-connection';
66

packages/server/api/src/app/database/seeds/seed-admin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { authenticateDefaultUserInOpenOpsTables } from '@openops/common';
22
import { AppSystemProp, logger, system } from '@openops/server-shared';
33
import { OrganizationRole, Provider, User } from '@openops/shared';
4-
import { authenticationService } from '../../authentication/authentication-service';
4+
import { authenticationService } from '../../authentication/basic/authentication-service';
55
import { openopsTables } from '../../openops-tables';
66
import { organizationService } from '../../organization/organization.service';
77
import { projectService } from '../../project/project-service';

0 commit comments

Comments
 (0)