Fixed/cleaned auth validation. Added 404 response when registrations are disabled.
This commit is contained in:
@ -6,7 +6,7 @@ import { AuthController } from './auth.controller';
|
||||
import { ConfigModule, ConfigService } from '@nestjs/config';
|
||||
import { JwtModule } from '@nestjs/jwt';
|
||||
import { JwtOptions } from './jwt.options';
|
||||
import { JwtStrategy } from './strategies/jwt.strategy';
|
||||
import { JwtAccessStrategy } from './strategies/jwt-access.strategy';
|
||||
import { AuthRefreshService } from './auth.refresh.service';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { AuthRefreshTokenEntity } from './entities/auth.refresh-token.entity';
|
||||
@ -34,7 +34,7 @@ import { JwtRefreshStrategy } from './strategies/jwt-refresh.strategy';
|
||||
AuthAccessService,
|
||||
AuthRefreshService,
|
||||
AuthService,
|
||||
JwtStrategy,
|
||||
JwtAccessStrategy,
|
||||
JwtRefreshStrategy,
|
||||
],
|
||||
controllers: [AuthController]
|
||||
|
Reference in New Issue
Block a user