diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-19 15:54:40 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-01-19 15:54:45 +0100 |
commit | e544b863433e37fbd2555d3b48da3a88a6307ddb (patch) | |
tree | bbbbb3a3c719f12f89094822c017fe6daa224c7b | |
parent | 91a6e1933722439cb81ed58d655a8c62ee05009f (diff) | |
download | emacs-e544b863433e37fbd2555d3b48da3a88a6307ddb.tar.gz |
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.
-rw-r--r-- | lisp/gnus/nntp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index 7e10e151a4d..c2bb960f945 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el @@ -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. |