Explorar o código

Don't disable anonymous refresh when anonymous feed access is disabled. (#9354)

Closes #9353; reverts part of 2701b7dff4d459eadb099a7e3aaf1473cccdbd29 https://github.com/FreshRSS/FreshRSS/pull/9235
colons hai 1 día
pai
achega
b0ccfe8b24
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Models/Auth.php

+ 1 - 1
app/Models/Auth.php

@@ -280,6 +280,6 @@ class FreshRSS_Auth {
 	}
 
 	public static function allowAnonymousRefresh(): bool {
-		return FreshRSS_Context::systemConf()->allow_anonymous_refresh && self::allowAnonymous();
+		return FreshRSS_Context::systemConf()->allow_anonymous_refresh;
 	}
 }