aboutsummaryrefslogtreecommitdiff
path: root/app/views
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/views
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/views')
-rw-r--r--app/views/configure/system.phtml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml
index 8954c6f55..60c5b5362 100644
--- a/app/views/configure/system.phtml
+++ b/app/views/configure/system.phtml
@@ -40,8 +40,7 @@
<div class="form-group">
<label class="group-name" for="auto-update-url"><?= _t('admin.system.auto-update-url') ?></label>
<div class="group-controls">
- <input type="text" id="auto-update-url" name="auto-update-url" value="<?= FreshRSS_Context::systemConf()->auto_update_url ?>"
- data-leave-validation="<?= FreshRSS_Context::systemConf()->auto_update_url ?>"/>
+ <input type="text" id="auto-update-url" name="auto-update-url" disabled="disabled" value="<?= FreshRSS_Context::systemConf()->auto_update_url ?>" />
</div>
</div>