Просмотр исходного кода

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

maTh 1 год назад
Родитель
Сommit
0ffcf41f93
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/views/user/profile.phtml

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