Skip to content

A free, self-hostable news aggregator…

Allow extensions for default accout in anonymous mode

Alexandre Alapetitee6e8cac3c469
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index f9c371d27..e4caf23d1 100644
--- a/app/FreshRSS.php
+++ b/app/FreshRSS.php
@@ -49,7 +49,7 @@ class FreshRSS extends Minz_FrontController {
self::initI18n();
self::loadNotifications();
// Enable extensions for the current (logged) user.
- if (FreshRSS_Auth::hasAccess()) {
+ if (FreshRSS_Auth::hasAccess() || $system_conf->allow_anonymous) {
$ext_list = FreshRSS_Context::$user_conf->extensions_enabled;
Minz_ExtensionManager::enableByList($ext_list);
}