Przeglądaj źródła

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 1 dzień temu
rodzic
commit
b0ccfe8b24
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
 	}
 }