mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
feat(server): reset admin password using cli command in the server container (#928)
This commit is contained in:
11
server/apps/cli/src/app.module.ts
Normal file
11
server/apps/cli/src/app.module.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { DatabaseModule } from '@app/database';
|
||||
import { UserEntity } from '@app/database/entities/user.entity';
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { PromptPasswordQuestions, ResetAdminPasswordCommand } from './commands/reset-admin-password.command';
|
||||
|
||||
@Module({
|
||||
imports: [DatabaseModule, TypeOrmModule.forFeature([UserEntity])],
|
||||
providers: [ResetAdminPasswordCommand, PromptPasswordQuestions],
|
||||
})
|
||||
export class AppModule {}
|
||||
Reference in New Issue
Block a user