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

This commit is contained in:
maTh 2024-04-17 08:28:20 +02:00 committed by GitHub
parent 22172fd5bc
commit 0ffcf41f93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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() ?>" />