From 63fcbc8d68108d39bcfff7e549c322d7ddea4849 Mon Sep 17 00:00:00 2001 From: Rogerio Chaves Date: Thu, 16 Apr 2020 22:05:22 +0200 Subject: [PATCH] Fix email sending and login button --- app/lib/express.js | 2 +- app/views/email_sign_in.ejs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/lib/express.js b/app/lib/express.js index 5ff7e88..1d81c6d 100644 --- a/app/lib/express.js +++ b/app/lib/express.js @@ -232,7 +232,7 @@ router.post("/keys/email", async (req, res) => { sgMail.setApiKey(process.env.SENDGRID_API_KEY); const msg = { to: email, - from: "nobody@social.com", + from: "Social ", subject: `Login button for ${req.context.profile.name}`, html, }; diff --git a/app/views/email_sign_in.ejs b/app/views/email_sign_in.ejs index 0a2a764..c5be8df 100644 --- a/app/views/email_sign_in.ejs +++ b/app/views/email_sign_in.ejs @@ -1,7 +1,7 @@

Login button

Welcome to Social, please use the button below to login to your account:

-
+