aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/system.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2023-09-15 08:20:38 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-15 08:20:38 +0200
commit0beabc333f06c71797a1cbf457455c4ca51efec5 (patch)
treefa3c30e8282e69be4d261a5bd18690c43ab24f69 /app/views/configure/system.phtml
parentdb53d2655b1771bd32fe2eb2c042b6b89f981c74 (diff)
Sensitive base-url (#5657)
https://github.com/FreshRSS/FreshRSS/pull/5656#issuecomment-1719802075 Make read-only while waiting for a better approach (which can wait till release 1.23)
Diffstat (limited to 'app/views/configure/system.phtml')
-rw-r--r--app/views/configure/system.phtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml
index fdd3d727e..52fd9ee87 100644
--- a/app/views/configure/system.phtml
+++ b/app/views/configure/system.phtml
@@ -25,8 +25,9 @@
<label class="group-name" for="base-url"><?= _t('admin.system.base-url') ?></label>
<div class="group-controls">
<input type="text" id="base-url" name="base-url" value="<?= FreshRSS_Context::$system_conf->base_url ?>"
- data-leave-validation="<?= FreshRSS_Context::$system_conf->base_url ?>"/>
+ data-leave-validation="<?= FreshRSS_Context::$system_conf->base_url ?>" disabled="disabled" />
<p class="help"><?= _i('help') ?> <?= _t('admin.system.base-url.recommendation', dirname(Minz_Request::guessBaseUrl())) ?></p>
+ <p class="help"><?= _i('help') ?> <?= _t('admin.system.sensitive-parameter') ?></p>
</div>
</div>