Skip to content

Commit a5e4d68

Browse files
committed
feat: add MAGIC_LINK_SECRET provider to AuthModule
1 parent b7a5f49 commit a5e4d68

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: server/src/auth/auth.module.ts

+6
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ export class AuthModule {
102102
useFactory: (configService: ConfigService) =>
103103
configService.getOrThrow<string>('WHITELISTED_USERS'),
104104
},
105+
{
106+
inject: [ConfigService],
107+
provide: 'MAGIC_LINK_SECRET',
108+
useFactory: (configService: ConfigService) =>
109+
configService.getOrThrow<string>('MAGIC_LINK_SECRET'),
110+
},
105111
{
106112
inject: [ConfigService],
107113
provide: 'APP_DOMAIN',

0 commit comments

Comments
 (0)