Switch wiki login email to plain text format
This commit is contained in:
parent
b9961409ad
commit
2258f9d2ae
1 changed files with 7 additions and 15 deletions
|
|
@ -53,21 +53,13 @@ export default defineEventHandler(async (event) => {
|
|||
from: "Ghost Guild <ghostguild@babyghosts.org>",
|
||||
to: email,
|
||||
subject: "Sign in to Ghost Guild Wiki",
|
||||
html: `
|
||||
<div style="font-family: Georgia, 'Times New Roman', serif; max-width: 600px; margin: 0 auto; background-color: #2a241c; border-radius: 8px; padding: 32px;">
|
||||
<h2 style="color: #d09e4e; margin-top: 0;">Sign in to the Ghost Guild Wiki</h2>
|
||||
<p style="color: #bfb3a2;">Click the button below to sign in:</p>
|
||||
<div style="text-align: center; margin: 30px 0;">
|
||||
<a href="${baseUrl}/oidc/interaction/verify?token=${token}"
|
||||
style="background-color: #d09e4e; color: #1a1510; padding: 12px 24px; text-decoration: none; border-radius: 6px; display: inline-block; font-weight: 700;">
|
||||
Sign In
|
||||
</a>
|
||||
</div>
|
||||
<p style="color: #6b5f4d; font-size: 14px;">
|
||||
This link expires in 15 minutes. If you didn't request this, you can safely ignore this email.
|
||||
</p>
|
||||
</div>
|
||||
`,
|
||||
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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue