A free, self-hostable news aggregator…
API: Show API password config only when relevant
Alexandre Alapetite9bbff4eb65b6
diff --git a/app/views/configure/users.phtml b/app/views/configure/users.phtmlindex f5c7dff17..3f3f19418 100644--- a/app/views/configure/users.phtml+++ b/app/views/configure/users.phtml@@ -25,6 +25,7 @@</div></div>+ <?php if (Minz_Configuration::apiEnabled()) { ?><div class="form-group"><label class="group-name" for="apiPasswordPlain"><?php echo Minz_Translate::t('password_api'); ?></label><div class="group-controls">@@ -32,6 +33,7 @@<noscript><b><?php echo Minz_Translate::t('javascript_should_be_activated'); ?></b></noscript></div></div>+ <?php } ?><div class="form-group"><label class="group-name" for="mail_login"><?php echo Minz_Translate::t('persona_connection_email'); ?></label>