summaryrefslogtreecommitdiff
path: root/java/org/gnu
diff options
context:
space:
mode:
authorPip Cet <pipcet@protonmail.com>2026-05-02 16:58:38 +0000
committerPip Cet <pipcet@protonmail.com>2026-05-10 20:00:41 +0000
commit01c5990dd064211a27022a94ee0ec3fd8b74ce06 (patch)
tree0f172e785dac7aa24b06c19fa44d6de024a1eea5 /java/org/gnu
parent027043df257848cb79390f4585a19e478a86568b (diff)
Fix nested read-passwd calls (bug#80838)
Calls to 'read-passwd' may be nested. The old code didn't handle that, because some of the state was global and we'd end up revealing passwords. The new code still has global state, but it has been changed so that we hide rather than reveal passwords when we enter or leave a nested read-passwd prompt. * lisp/auth-source.el (read-passwd--hide-password): Removed. (read-passwd--password-hidden): New. (read-passwd-toggle-visibility): Add optional FORCE argument. (read-passwd--mini-buffers): New variable. (read-passwd-mode): Don't modify mode line when nested. Hide password when returning to nested minibuffer or entering a new one.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions