Skip to content

Commit bced64b

Browse files
committed
Get ALLOWED_ADMIN_EMAIL_DOMAINS from .env
1 parent 3eb3467 commit bced64b

2 files changed

Lines changed: 1 addition & 38 deletions

File tree

server/app/config/allowedAdminDomains.js

Lines changed: 0 additions & 37 deletions
This file was deleted.

server/app/services/account.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const {
77
sendRegistrationConfirmation,
88
sendResetPasswordConfirmation
99
} = require("./email.service");
10-
const { allowedAdminDomains } = require("../config/allowedAdminDomains");
10+
const allowedAdminDomains = process.env.ALLOWED_ADMIN_EMAIL_DOMAINS;
1111

1212
const SALT_ROUNDS = 10;
1313

0 commit comments

Comments
 (0)