aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/user/profile.phtml2
1 files changed, 1 insertions, 1 deletions
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() ?>" />