Skip to content

A free, self-hostable news aggregator…

FIX email token check if not in user-config (#2686)

Purexo86dda604313b
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index 5209edc84..39b4769fd 100644
--- a/app/Controllers/userController.php
+++ b/app/Controllers/userController.php
@@ -130,7 +130,7 @@ class FreshRSS_user_Controller extends Minz_ActionController {
Minz_Error::error(403);
}
- $email_not_verified = FreshRSS_Context::$user_conf->email_validation_token !== '';
+ $email_not_verified = FreshRSS_Context::$user_conf->email_validation_token != '';
$this->view->disable_aside = false;
if ($email_not_verified) {
$this->view->_layout('simple');