* lisp/subr.el (read-passwd): Don't delete return value (Bug#22027).
This commit is contained in:
parent
3632633cab
commit
882f81fdb4
1 changed files with 1 additions and 1 deletions
|
@ -2268,7 +2268,7 @@ by doing (clear-string STRING)."
|
|||
(second (read-passwd "Confirm password: " nil default)))
|
||||
(if (equal first second)
|
||||
(progn
|
||||
(and (arrayp second) (clear-string second))
|
||||
(and (arrayp second) (not (eq first second)) (clear-string second))
|
||||
(setq success first))
|
||||
(and (arrayp first) (clear-string first))
|
||||
(and (arrayp second) (clear-string second))
|
||||
|
|
Loading…
Add table
Reference in a new issue