aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Jackson Culbreth <88844902+culbrethj@users.noreply.github.com> 2025-03-07 17:34:56 -0500
committerGravatar GitHub <noreply@github.com> 2025-03-07 23:34:56 +0100
commitfdc564dd9e85a2f3fbf6087611fd6c7f42fc2ea8 (patch)
treea700d90f91b911b26f0b2de946b14f4693dc67a4 /app/views
parent3ec0bdab3840feb7140d70d0eb8d60065337e33a (diff)
Added api password indicator text (#7340)
* Added api password indicator text * make fix-all * i18n * i18n: it Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com> --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>
Diffstat (limited to 'app/views')
-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>