Skip to content
Snippets Groups Projects
Commit cb057be9 authored by p10user, desy's avatar p10user, desy
Browse files

email: bcc for desy, link for p10

parent 898bcb61
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,9 @@ function send_verify_email(email: string) {
function get_email_content(token: string, to_email: string): Mail.Options {
const verify_link =
"https://snip.roentgen.physik.uni-goettingen.de/account/verify?token=" + token;
"https://snip-p10.desy.de/account/verify?token=" + token;
const user_email = to_email;
const raw_link = "https://snip.roentgen.physik.uni-goettingen.de/account/verify";
const raw_link = "https://snip-p10.desy.de/account/verify";
// Get email template
const email = fs.readFileSync(
......@@ -56,7 +56,7 @@ function get_email_content(token: string, to_email: string): Mail.Options {
to: to_email,
subject: "Welcome to SNIP - Please verify your email",
html: email_html,
bcc: config.EMAIL.USER + "@" + config.EMAIL.HOST,
bcc: config.EMAIL.USER,
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment