Remove hardcoded emails
This commit is contained in:
@@ -198,7 +198,7 @@ const encrypt = __webpack_require__(7547);
|
||||
await _functions_backend_delay__WEBPACK_IMPORTED_MODULE_4___default()();
|
||||
if (true) {
|
||||
_functions_backend_handleNodemailer__WEBPACK_IMPORTED_MODULE_3___default()({
|
||||
to: "[email protected]",
|
||||
to: process.env.DSQL_CONTACT_EMAIL,
|
||||
subject: `Failed Login from ${email}`,
|
||||
html: `<h1><u>${email}</u> tried to login with a wrong password</h1><p><b>${email}</b> attempted a login on ${site} from ${ip} with a wrong password.</p>`
|
||||
});
|
||||
@@ -256,7 +256,7 @@ const encrypt = __webpack_require__(7547);
|
||||
await _functions_backend_delay__WEBPACK_IMPORTED_MODULE_4___default()();
|
||||
if (true) {
|
||||
_functions_backend_handleNodemailer__WEBPACK_IMPORTED_MODULE_3___default()({
|
||||
to: "[email protected]",
|
||||
to: process.env.DSQL_CONTACT_EMAIL,
|
||||
subject: `${email} Logged in successfully`,
|
||||
html: `<h1><u>${email}</u> successfully logged in</h1><p><b>${email}</b> successfully logged in on ${site} from ${ip} on ${Date().substring(0, 16)}.</p>`
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user