chore: change the login and regitster flow to single route
This commit is contained in:
@@ -32,6 +32,7 @@ export function smsConfigs() {
|
||||
SMS_PATTERN_NEW_SUBSCRIPTION: configService.getOrThrow<string>("SMS_PATTERN_NEW_SUBSCRIPTION"),
|
||||
SMS_PATTERN_NEW_TICKET_GLOBAL: configService.getOrThrow<string>("SMS_PATTERN_NEW_TICKET_GLOBAL"),
|
||||
SMS_PATTERN_NEW_CRITICISM: configService.getOrThrow<string>("SMS_PATTERN_NEW_CRITICISM"),
|
||||
SMS_PATTERN_USER_PASSWORD: configService.getOrThrow<string>("SMS_PATTERN_USER_PASSWORD"),
|
||||
};
|
||||
},
|
||||
};
|
||||
@@ -65,4 +66,5 @@ export interface ISmsConfigs {
|
||||
SMS_PATTERN_NEW_SUBSCRIPTION: string;
|
||||
SMS_PATTERN_NEW_TICKET_GLOBAL: string;
|
||||
SMS_PATTERN_NEW_CRITICISM: string;
|
||||
SMS_PATTERN_USER_PASSWORD: string;
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ export function databaseConfigs(): TypeOrmModuleAsyncOptions {
|
||||
username: configService.getOrThrow<string>("DB_USER"),
|
||||
password: configService.getOrThrow<string>("DB_PASS"),
|
||||
autoLoadEntities: true,
|
||||
synchronize: configService.getOrThrow<string>("NODE_ENV") == "production" ? false : true,
|
||||
synchronize: configService.getOrThrow<string>("NODE_ENV") == "production" ? false : false,
|
||||
logging: configService.getOrThrow<string>("NODE_ENV") == "production" ? false : true,
|
||||
migrationsTableName: "typeorm_migrations",
|
||||
migrationsRun: false,
|
||||
|
||||
Reference in New Issue
Block a user