diff --git a/modules/feature-firstrun.php b/modules/feature-firstrun.php index 6add06a..1cbb100 100644 --- a/modules/feature-firstrun.php +++ b/modules/feature-firstrun.php @@ -42,6 +42,8 @@ register_module([
You can still complete the setup manually, however! Once done, set firstrun_complete
in peppermint.json to true
.
Oops! Looks like you forgot to enter an email address. Try going back in your browser and filling one in.
")); } - if(!filter_var($_POST["email-address"], FILTER_VALIDATE_EMAIL)) { + if(filter_var($_POST["email-address"], FILTER_VALIDATE_EMAIL) === false) { http_response_code(400); exit(page_renderer::render_main("Invalid email address - Error - Pepperminty Wiki", "Oops! Looks like that email address isn't valid. Try going back in your browser and correcting it.
")); }