diff --git a/src/encryptid/server.ts b/src/encryptid/server.ts index 4195cc6..4d709e7 100644 --- a/src/encryptid/server.ts +++ b/src/encryptid/server.ts @@ -276,7 +276,7 @@ async function sendRecoveryEmail(to: string, token: string, username: string): P } async function sendVerificationEmail(to: string, token: string, username: string, appName: string): Promise { - const verifyLink = `https://auth.rspace.online/oidc/verify-email-callback?token=${encodeURIComponent(token)}`; + const verifyLink = `https://auth.ridentity.online/oidc/verify-email-callback?token=${encodeURIComponent(token)}`; if (!smtpTransport) { console.log(`EncryptID: [NO SMTP] Verification link for ${to}: ${verifyLink}`); @@ -284,9 +284,9 @@ async function sendVerificationEmail(to: string, token: string, username: string } await smtpTransport.sendMail({ - from: CONFIG.smtp.from, + from: 'rIdentity ', to, - subject: 'rStack — Verify your email address', + subject: 'rIdentity — Verify your email address', text: [ `Hi ${username},`, '', @@ -298,7 +298,11 @@ async function sendVerificationEmail(to: string, token: string, username: string 'This link expires in 30 minutes.', 'If you did not request this, you can safely ignore this email.', '', - '— rStack Identity', + '— rIdentity', + '', + 'rIdentity: https://ridentity.online', + 'rStack: https://rstack.online', + 'rSpace: https://rspace.online', ].join('\n'), html: ` @@ -309,8 +313,8 @@ async function sendVerificationEmail(to: string, token: string, username: string - +
-
-

rStack Identity

+
🔒
+

rIdentity

Hi ${username},

@@ -319,7 +323,7 @@ async function sendVerificationEmail(to: string, token: string, username: string
Verify Email
+

This link expires in 30 minutes.

If you didn't request this, you can safely ignore this email.

@@ -327,6 +331,15 @@ async function sendVerificationEmail(to: string, token: string, username: string ${verifyLink}

+

+ rIdentity +  ·  + rStack +  ·  + rSpace +

+