Skip to content

Commit

Permalink
Fix: API mangement section in profile page (#6314)
Browse files Browse the repository at this point in the history
  • Loading branch information
math-GH authored Apr 17, 2024
1 parent 22172fd commit 0ffcf41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/user/profile.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -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() ?>" />

Expand Down

0 comments on commit 0ffcf41

Please sign in to comment.