From 771daeffdfe943416acf910e963227e2dbe97f88 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Wed, 2 Dec 2020 01:50:39 -0700 Subject: [PATCH] Fix bug creating verified user accounts --- Rocksolid_Light/common/create.php | 2 +- Rocksolid_Light/common/rsusers.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Rocksolid_Light/common/create.php b/Rocksolid_Light/common/create.php index e14f5ec..5231c84 100644 --- a/Rocksolid_Light/common/create.php +++ b/Rocksolid_Light/common/create.php @@ -21,7 +21,7 @@ $CONFIG['verify_email'] = false; } } - if($CONFIG['verify_email'] === true) { + if($CONFIG['verify_email'] == true) { $saved_code = file_get_contents(sys_get_temp_dir()."/".$username); if((strcmp(trim($code), trim($saved_code))) !== 0) { echo "Code does not match. Try again.
"; diff --git a/Rocksolid_Light/common/rsusers.php b/Rocksolid_Light/common/rsusers.php index 2ebff8b..3ca686f 100644 --- a/Rocksolid_Light/common/rsusers.php +++ b/Rocksolid_Light/common/rsusers.php @@ -178,7 +178,7 @@ $mail->send(); echo 'Please enter the code from the email below:
'; } echo '
'; - if($CONFIG['verify_email'] === true) { + if($CONFIG['verify_email'] == true) { echo ' '; } echo '';