mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-02-26 19:46:11 -05:00
API: Show API password config only when relevant
https://github.com/marienfressinaud/FreshRSS/issues/13
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user