aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-04-01 17:54:52 +0200
committerGravatar GitHub <noreply@github.com> 2025-04-01 17:54:52 +0200
commitdbdadbb4107878d9233f635c31a88afe45957101 (patch)
treef870b813aacba5948bf22a3a3dce5f6adc96aa25 /app/Controllers/configureController.php
parent5cb73fa2206138235a0978d64c35332b67ce180c (diff)
Make update URL readonly (#7477)
The security risks look higher than the minor convinience Modify https://github.com/FreshRSS/FreshRSS/pull/1024
Diffstat (limited to 'app/Controllers/configureController.php')
-rw-r--r--app/Controllers/configureController.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index d1912fbc9..d502ca717 100644
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -505,7 +505,6 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
$limits['cookie_duration'] = Minz_Request::paramInt('cookie-duration') ?: FreshRSS_Auth::DEFAULT_COOKIE_DURATION;
FreshRSS_Context::systemConf()->limits = $limits;
FreshRSS_Context::systemConf()->title = Minz_Request::paramString('instance-name') ?: 'FreshRSS';
- FreshRSS_Context::systemConf()->auto_update_url = Minz_Request::paramString('auto-update-url');
FreshRSS_Context::systemConf()->force_email_validation = Minz_Request::paramBoolean('force-email-validation');
FreshRSS_Context::systemConf()->save();