From 56a9c52ca3d2b4366bee3f4880bc75842a1a099a Mon Sep 17 00:00:00 2001 From: Owen Marshall Date: Wed, 22 Mar 2023 11:32:00 +1100 Subject: [PATCH] Fix for network validation issues on wireless (fixes Issue #4331) --- src/gui/creds/webflowcredentials.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/creds/webflowcredentials.cpp b/src/gui/creds/webflowcredentials.cpp index 9958d1b7d55a7..c3f1380382de6 100644 --- a/src/gui/creds/webflowcredentials.cpp +++ b/src/gui/creds/webflowcredentials.cpp @@ -13,6 +13,7 @@ #include #include "accessmanager.h" +#include "accountmanager.h" #include "account.h" #include "configfile.h" #include "theme.h" @@ -227,6 +228,10 @@ bool WebFlowCredentials::stillValid(QNetworkReply *reply) { if (reply->error() != QNetworkReply::NoError) { qCWarning(lcWebFlowCredentials()) << reply->error(); qCWarning(lcWebFlowCredentials()) << reply->errorString(); + const auto accounts = AccountManager::instance()->accounts(); + for (auto account : accounts) { + account->freshConnectionAttempt(); + } } return (reply->error() != QNetworkReply::AuthenticationRequiredError); }