From 3621a00fc13dfc64c3a1191ded92b1f990b43b19 Mon Sep 17 00:00:00 2001 From: Janis Steiner Date: Sat, 4 Jan 2025 16:31:18 +0100 Subject: [PATCH] new reset email --- app-code/api/login/send_reset_link.php | 604 +++++++++++++++++++++---- 1 file changed, 522 insertions(+), 82 deletions(-) diff --git a/app-code/api/login/send_reset_link.php b/app-code/api/login/send_reset_link.php index 335228a..2f86735 100644 --- a/app-code/api/login/send_reset_link.php +++ b/app-code/api/login/send_reset_link.php @@ -59,90 +59,530 @@ curl_close($ch); //send mail if(!empty($mail)){ $loc=$location["country"].", ".$location["state"].", ".$location["city"]; - $content = " - - - - - - Password Reset - - - - -
-

Password Reset Request

-

Hi $mail,

-

You have requested a password reset link. Here it is:

-

Click here to reset your password

-

If you did not request this, please ignore this email. If you did, you can reset your password using the link above.

- -

Request Details:

- - -

If this was you, you can reset your password. If this was not you, someone else may have tried to reset your password.

- - -
- - + + + + Use this link to reset your password. The link is only valid for 12 hours. + + + + + + -"; +'; $message = [