Set supportEmail when rendering login template (#410)

The contact link is rendered as "mailto:undefined" in the magic link emails
This commit is contained in:
Girish Ramakrishnan 2023-01-20 02:29:06 -08:00 committed by GitHub
parent 6e7b332d05
commit 6332d6459f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@ export const login = createRouter().mutation("login", {
templateVars: {
loginUrl,
homePageUrl,
supportEmail: process.env.SUPPORT_EMAIL,
},
});
},