aboutsummaryrefslogtreecommitdiff
path: root/app/views/user/profile.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/user/profile.phtml')
-rw-r--r--app/views/user/profile.phtml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtml
index 74f6911cd..8f3633eb3 100644
--- a/app/views/user/profile.phtml
+++ b/app/views/user/profile.phtml
@@ -82,6 +82,11 @@
<div class="group-controls">
<div class="stick">
<input type="password" id="apiPasswordPlain" name="apiPasswordPlain" autocomplete="new-password"
+ <?php if (FreshRSS_Context::userConf()->apiPasswordHash != '') {?>
+ placeholder="<?= _t('conf.profile.api.api_set') ?>"
+ <?php } else {?>
+ placeholder="<?= _t('conf.profile.api.api_not_set') ?>"
+ <?php } ?>
pattern=".{7,}" <?= cryptAvailable() ? '' : 'disabled="disabled" ' ?>/>
<button type="button" class="btn toggle-password" data-toggle="apiPasswordPlain"><?= _i('key') ?></button>
</div>