diff options
| author | 2019-08-29 18:08:43 +0200 | |
|---|---|---|
| committer | 2019-08-29 18:08:43 +0200 | |
| commit | 84f9311fd53f5fa58ae55986ece9bfa7dac455c1 (patch) | |
| tree | 884e1c3048cbe8fc9f2c3e081c3a8730d2cbc639 /app/Controllers/userController.php | |
| parent | 18efce354326c78d0ae0579a163eb4ac6322deca (diff) | |
fix: Fix "validate email"-related issues (#2512)
* fix: Make sure $disable_aside is initialized
There was a warning for an uninitialized variable, hidden in production
but visible in development mode.
* fix: Allow to delete account when email isn't validated
Diffstat (limited to 'app/Controllers/userController.php')
| -rw-r--r-- | app/Controllers/userController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php index 9e909a3b5..a1d649c0a 100644 --- a/app/Controllers/userController.php +++ b/app/Controllers/userController.php @@ -123,6 +123,7 @@ class FreshRSS_user_Controller extends Minz_ActionController { } $email_not_verified = FreshRSS_Context::$user_conf->email_validation_token !== ''; + $this->view->disable_aside = false; if ($email_not_verified) { $this->view->_layout('simple'); $this->view->disable_aside = true; |
