diff options
| author | 2017-04-11 17:31:07 +0200 | |
|---|---|---|
| committer | 2017-04-11 17:31:07 +0200 | |
| commit | aa75cebbfe3dd2a6f8d8c9f3dfe72091e8381376 (patch) | |
| tree | cc0907d84ec5ad72baed8e0fb6fe7d81176bbb3c /lib | |
| parent | e849de7296efbece490447cdceeed9726f10b33c (diff) | |
| parent | 510045b3c554261a0a6434bfe73adac32b12cc81 (diff) | |
Merge pull request #1493 from Alkarex/multiuser-token
Multi-user token
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lib_rss.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 4298e90bf..247cc707b 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -334,6 +334,9 @@ function max_registrations_reached() { * @return a Minz_Configuration object, null if the configuration cannot be loaded. */ function get_user_configuration($username) { + if (!FreshRSS_user_Controller::checkUsername($username)) { + return null; + } $namespace = 'user_' . $username; try { Minz_Configuration::register($namespace, |
