You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$message = "You've requested to recover your password for <strong>" . APPNAME . "</strong>.<br />
144
-
Please click on this link to recover your password: <a href=\"" . BASE_URL . "/user/reset/?recovery=" . $data['recovery'] . "\">" . BASE_URL . "/user/reset/?recovery=" . $data['recovery'] . "</a>. <br />
145
-
If the link doesn't work, please copy and paste it in the address bar of your browser.<br />
146
-
The link will be active for the next 24 hours.";
153
+
$message = "<p>Hi,</p>" .
154
+
"<p>You've requested to recover your password for the " . APPNAME . ".</p>" .
155
+
"<hr/>" .
156
+
"<p>Please click on this link to recover your password: <a href=\"" . BASE_URL . "/user/reset/?recovery=" . $data['recovery'] . "\">" . BASE_URL . "/user/reset/?recovery=" . $data['recovery'] . "</a>.</p>" .
157
+
"<p>If the link doesn't work, please copy and paste it in the address bar of your browser.</p>" .
158
+
"<p>The link will be active for the next 24 hours.</p>" .
159
+
"<hr/>" .
160
+
"<p>If you have any issues, or if you did <strong>not</strong> ask to recover your password, please contact <a href='mailto:" . SUPPORT_CONTACT_EMAIL . "'>" . SUPPORT_CONTACT_EMAIL . "</a>.</p>" .
161
+
"<p>Thanks for using the " . APPNAME . "!</p>" .
162
+
"<p><em>The Restart Project</em></p>";
147
163
$subject = APPNAME . ": Password recovery";
148
164
$headers = "From: " . APPEMAIL . "\r\n";
149
165
$headers .= "MIME-Version: 1.0\r\n";
@@ -155,7 +171,7 @@ public function recover(){
155
171
$response['danger'] = 'Could not send email with reset instructions.';
156
172
}
157
173
else {
158
-
$response['success'] = 'Email Sent! Please check your inbox and follow instructions.';
174
+
$response['success'] = 'Email Sent! Please check your inbox and follow instructions. <strong>Please allow up to 10 minutes for your email to arrive, and please check your spam folder.</strong>';
<p class="login-text">Please input the email address you used to register with the Fixometer. The system will send you an email with instructions on how to recover access to your account. </p>
5
+
<p class="login-text"><span class="patua-blue">Welcome to our community space,</span> where you can share upcoming Restart Parties and track their social and environmental impact. By doing so, we can empower and motivate at a local level, but also build global momentum for a change.</p>
<h2><span class="title-text">recover your password</span></h2>
9
9
10
+
<p class="explainer-text">Please input the email address that was used when you first registered with the Fixometer. The system will send you an email with instructions on how to recover the access to your account. </p>
<p class="login-text"><span class="patua-blue">Welcome to our community space,</span> where you can share upcoming Restart Parties and track their social and environmental impact. By doing so, we can empower and motivate at a local level, but also build global momentum for a change.</p>
5
6
<?phpif($valid_code == false) { ?>
6
7
<p class="login-text text-center">The recovery code you're using is invalid. Please proceed to request a new recovery link <a href="/user/recover">here</a>.</p>
7
8
<?php } else { ?>
8
-
<p class="login-text text-center">Please input your new password here.</p>
0 commit comments