mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 18:56:22 +00:00
authentication module done
This commit is contained in:
9
libs/common/src/config/email.config.ts
Normal file
9
libs/common/src/config/email.config.ts
Normal file
@ -0,0 +1,9 @@
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export default registerAs(
|
||||
'email-config',
|
||||
(): Record<string, any> => ({
|
||||
EMAIL_ID: process.env.EMAIL_USER,
|
||||
PASSWORD: process.env.EMAIL_PASSWORD,
|
||||
}),
|
||||
);
|
Reference in New Issue
Block a user