- Add JWT auth guard with Bearer token and cookie support - Update .env.example files with PASSWORD_PEPPER documentation - Update seeder to use PASSWORD_PEPPER for password hashing - Update seeder README with hash verification examples - Fix frontend auth and page components - Update backend JWT service and seed migration
10 lines
268 B
TypeScript
10 lines
268 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { ConfigModule } from '@nestjs/config';
|
|
import { JwtAuthGuard } from './jwt-auth.guard';
|
|
|
|
@Module({
|
|
imports: [ConfigModule],
|
|
providers: [JwtAuthGuard],
|
|
exports: [JwtAuthGuard],
|
|
})
|
|
export class AuthModule { }
|