Remove hardcoded emails

This commit is contained in:
Benjamin Toby
2024-11-05 20:37:04 +01:00
parent 7373c1d74e
commit 0a32750faa
241 changed files with 310 additions and 355 deletions
@@ -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>`
});