diff options
| author | 2021-10-21 12:47:50 +0200 | |
|---|---|---|
| committer | 2021-10-21 12:47:50 +0200 | |
| commit | c5cfb2ac07f039bb7388dca3a4061755c8403fff (patch) | |
| tree | 30facf25708de31dd9de07862cc99603b0a495e3 /app/views/feed/add.phtml | |
| parent | 008cbfef2ccb9c0e52f0329dd7a4519593638265 (diff) | |
fixed: add feed: advanced: white space char as default password (#3814)
* fixed space char as default password
* fix: whitespace in feed http username configuration
* fix: type=password
* extend the type=password with the watch-password-plain button
* init_extra() again for new slider content
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/feed/add.phtml')
| -rw-r--r-- | app/views/feed/add.phtml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/feed/add.phtml b/app/views/feed/add.phtml index 516ec9a8b..a585fcedc 100644 --- a/app/views/feed/add.phtml +++ b/app/views/feed/add.phtml @@ -68,13 +68,16 @@ <div class="form-group"> <label class="group-name" for="http_user"><?= _t('sub.feed.auth.username') ?></label> <div class="group-controls"> - <input type="text" name="http_user" id="http_user" class="extend" value="<?= empty($auth['username']) ? ' ' : $auth['username'] ?>" autocomplete="off" /> + <input type="text" name="http_user" id="http_user" class="extend" value="<?= $auth['username'] ?>" autocomplete="off" /> <p class="help"><?= _i('help') ?> <?= _t('sub.feed.auth.help') ?></p> </div> <label class="group-name" for="http_pass"><?= _t('sub.feed.auth.password') ?></label> <div class="group-controls"> - <input type="password" name="http_pass" id="http_pass" class="extend" value="<?= $auth['password'] ?>" autocomplete="new-password" /> + <div class="stick"> + <input type="password" name="http_pass" id="http_pass" class="extend" value="<?= $auth['password'] ?>" autocomplete="new-password" /> + <a class="btn toggle-password" data-toggle="http_user"><?= _i('key') ?></a> + </div> </div> </div> |
