clearer message for token not found
This commit is contained in:
8
index.js
8
index.js
@@ -671,8 +671,8 @@ app.get('/verify-email', async (req, res) => {
|
|||||||
// Token not found - check if already verified
|
// Token not found - check if already verified
|
||||||
return res.send(
|
return res.send(
|
||||||
generateVerificationPageHTML(
|
generateVerificationPageHTML(
|
||||||
'Already Verified',
|
'Already Verified or Expired',
|
||||||
'This verification link has already been used. Your email is verified and you can log in to the app.',
|
'This verification link has already been used, or the link has expired. Check your app for updated status.',
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
@@ -942,8 +942,8 @@ app.get('/verify-email-change', async (req, res) => {
|
|||||||
// Token doesn't exist - likely already processed
|
// Token doesn't exist - likely already processed
|
||||||
return res.send(
|
return res.send(
|
||||||
generateVerificationPageHTML(
|
generateVerificationPageHTML(
|
||||||
'Already Verified',
|
'Already Verified or Expired',
|
||||||
'This verification link has already been used. If your email change was successful, you can log in with your new email address.',
|
'This verification link has already been used, or the link has expired. Check your app for updated status.',
|
||||||
true
|
true
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user