]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't stop Gnus startup on password failures
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Jan 2021 14:54:40 +0000 (15:54 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 19 Jan 2021 14:54:45 +0000 (15:54 +0100)
* 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.

lisp/gnus/nntp.el

index 7e10e151a4dc7c75e5c21fca7208cb0a5af78b6f..c2bb960f945b4fc660e2b05035a0592b84bba19a 100644 (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.