Redesign login/register with Mento branding and email/mobile OTP.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-05 00:47:33 +03:30
co-authored by Cursor
parent aa3fe49ce6
commit c620d1d6d4
12 changed files with 1792 additions and 184 deletions
+3 -1
View File
@@ -6,9 +6,11 @@ import { AuthService } from './auth.service';
import { AuthController } from './auth.controller';
import { JwtStrategy } from './jwt.strategy';
import { RolesGuard } from './roles.guard';
import { SmsService } from '../common/sms.service';
@Module({
imports: [
ConfigModule,
PassportModule.register({ defaultStrategy: 'jwt' }),
JwtModule.registerAsync({
imports: [ConfigModule],
@@ -22,7 +24,7 @@ import { RolesGuard } from './roles.guard';
}),
],
controllers: [AuthController],
providers: [AuthService, JwtStrategy, RolesGuard],
providers: [AuthService, JwtStrategy, RolesGuard, SmsService],
exports: [AuthService, RolesGuard, JwtModule],
})
export class AuthModule {}