We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7a5f49 commit a5e4d68Copy full SHA for a5e4d68
server/src/auth/auth.module.ts
@@ -102,6 +102,12 @@ export class AuthModule {
102
useFactory: (configService: ConfigService) =>
103
configService.getOrThrow<string>('WHITELISTED_USERS'),
104
},
105
+ {
106
+ inject: [ConfigService],
107
+ provide: 'MAGIC_LINK_SECRET',
108
+ useFactory: (configService: ConfigService) =>
109
+ configService.getOrThrow<string>('MAGIC_LINK_SECRET'),
110
+ },
111
{
112
inject: [ConfigService],
113
provide: 'APP_DOMAIN',
0 commit comments