From 9d75134afef5aad466635ff999de29a00f11efa2 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 5 Jan 2020 20:52:35 +0000 Subject: [PATCH] Add clarification about email verification status --- modules/feature-user-preferences.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/feature-user-preferences.php b/modules/feature-user-preferences.php index a2b3c29..c1bde6d 100644 --- a/modules/feature-user-preferences.php +++ b/modules/feature-user-preferences.php @@ -67,7 +67,7 @@ register_module([ $content .= " \n"; $content .= "

Used to send you notifications etc. Never shared with anyone except $settings->admindetails_name, $settings->sitename's administrator.

\n"; if($settings->email_user_verify) { - $content .= "

Verification status: ".(!empty($env->user_data->emailAddressVerificationCode) || !$env->user_data->emailAddressVerificationCode ? "not " : "")."verified

"; + $content .= "

Email verification status: ".(!empty($env->user_data->emailAddressVerificationCode) || !$env->user_data->emailAddressVerificationCode ? "not " : "")."verified Email address verification is required in order to receive emails (other than the verification email itself, of course). Click the link in the verification email sent to you to verify your address, or change it here to get another verification email.

"; } $content .= " \n"; $content .= "\n"; @@ -175,7 +175,7 @@ register_module([ http_resonse_code(400); header("x-status: failed"); header("x-problem: code-incorrect"); - exit(page_renderer::render_main("Verification code incorrect", "

That verification code was incorrect. Try specifying another one, or going to your user preferences and changing your email address to re-send another code (you can change it to the same address).

")); + exit(page_renderer::render_main("Verification code incorrect", "

That verification code was incorrect. Try specifying another one, or going to your user preferences and changing your email address to re-send another code.

")); } // The code supplied must be valid