diff options
| author | 2017-02-25 13:08:45 +0100 | |
|---|---|---|
| committer | 2017-02-25 13:08:45 +0100 | |
| commit | fb6bb8e826a29c1f94a705ea39ecc052ff59b99f (patch) | |
| tree | 08643f3a2901fc38aaa0841cebd35fc714842f49 /lib | |
| parent | b8ac2b1d8ab47642018bd3f0fe6863b69a2743d6 (diff) | |
| parent | 0bd4b2c74204a2f9360816ab22aac0da4c459824 (diff) | |
Merge pull request #1423 from plopoyop/feature/username-in-cli
[WIP] Feature/username in cli
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 560e5b256..cdd08719d 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -285,7 +285,7 @@ function uSecString() { } function invalidateHttpCache($username = '') { - if (($username == '') || (!ctype_alnum($username))) { + if (!FreshRSS_user_Controller::checkUsername($username)) { Minz_Session::_param('touch', uTimeString()); $username = Minz_Session::param('currentUser', '_'); } |
