1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Don't stop Gnus startup on password failures

* lisp/gnus/nntp.el (nntp-send-authinfo): Don't signal an
`nntp-authinfo-rejected' error, because that will stop Gnus
startup (bug#45855).  Instead signal an error that will be caught
higher up.
This commit is contained in:
Lars Ingebrigtsen 2021-01-19 15:54:40 +01:00
parent 91a6e19337
commit e544b86343

View file

@ -1209,7 +1209,7 @@ If SEND-IF-FORCE, only send authinfo to the server if the
(read-passwd (format "NNTP (%s@%s) password: "
user nntp-address)))))))
(if (not result)
(signal 'nntp-authinfo-rejected "Password rejected")
(error "Password rejected")
result))))))
;;; Internal functions.