4
0
Эх сурвалжийг харах

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

maTh 2 жил өмнө
parent
commit
0ffcf41f93

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