From 2258f9d2aecb4a13b77036440208e755719a8419 Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Wed, 11 Mar 2026 14:13:59 +0000 Subject: [PATCH] Switch wiki login email to plain text format --- server/routes/oidc/interaction/login.post.ts | 22 +++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/server/routes/oidc/interaction/login.post.ts b/server/routes/oidc/interaction/login.post.ts index 539337d..bfa6b5b 100644 --- a/server/routes/oidc/interaction/login.post.ts +++ b/server/routes/oidc/interaction/login.post.ts @@ -53,21 +53,13 @@ export default defineEventHandler(async (event) => { from: "Ghost Guild ", to: email, subject: "Sign in to Ghost Guild Wiki", - html: ` -
-

Sign in to the Ghost Guild Wiki

-

Click the button below to sign in:

-
- - Sign In - -
-

- This link expires in 15 minutes. If you didn't request this, you can safely ignore this email. -

-
- `, + text: `Sign in to the Ghost Guild Wiki + +Use this link to sign in: + +${baseUrl}/oidc/interaction/verify?token=${token} + +This link expires in 15 minutes. If you didn't request this, you can safely ignore this email.`, }); return { success: true, message: GENERIC_MESSAGE };