Skip to content

A free, self-hostable news aggregator…

Fix: API mangement section in profile page (#6314)

maTh0ffcf41f9371
diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml
index 22b93510e..3a80065ef 100644
--- a/app/views/user/profile.phtml
+++ b/app/views/user/profile.phtml
@@ -75,8 +75,8 @@
</div>
</form>
- <h2><?= _t('conf.profile.api') ?></h2>
<?php if (FreshRSS_Context::systemConf()->api_enabled) { ?>
+ <h2><?= _t('conf.profile.api') ?></h2>
<form method="post" action="<?= _url('api', 'updatePassword') ?>">
<input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" />