diff options
| author | 2019-08-29 18:08:43 +0200 | |
|---|---|---|
| committer | 2019-08-29 18:08:43 +0200 | |
| commit | 84f9311fd53f5fa58ae55986ece9bfa7dac455c1 (patch) | |
| tree | 884e1c3048cbe8fc9f2c3e081c3a8730d2cbc639 /app/FreshRSS.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/FreshRSS.php')
| -rw-r--r-- | app/FreshRSS.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php index c48ad2093..d472a2147 100644 --- a/app/FreshRSS.php +++ b/app/FreshRSS.php @@ -153,7 +153,9 @@ class FreshRSS extends Minz_FrontController { Minz_Request::is('user', 'validateEmail') || Minz_Request::is('user', 'sendValidationEmail') || Minz_Request::is('user', 'profile') || - Minz_Request::is('auth', 'logout') + Minz_Request::is('user', 'delete') || + Minz_Request::is('auth', 'logout') || + Minz_Request::is('javascript', 'nonce') ); if ($email_not_verified && !$action_is_allowed) { Minz_Request::forward(array( |
