diff --git a/src/ioslaves/http/http.cpp b/src/ioslaves/http/http.cpp --- a/src/ioslaves/http/http.cpp +++ b/src/ioslaves/http/http.cpp @@ -5525,7 +5525,9 @@ if (!authTokens.isEmpty()) { goto try_next_auth_scheme; } else { - error(ERR_UNSUPPORTED_ACTION, i18n("Authorization failed.")); + if (!sendErrorPageNotification()) { + error(ERR_UNSUPPORTED_ACTION, i18n("Authorization failed.")); + } authRequiresAnotherRoundtrip = false; } //### return false; ?