@@ -13658,9 +13658,9 @@ void QgisApp::namAuthenticationRequired( QNetworkReply *inReply, QAuthenticator
1365813658 for ( ;; )
1365913659 {
1366013660 bool ok = QgsCredentials::instance()->get(
13661- QStringLiteral( "%1 at %2" ).arg( auth->realm(), reply->url().host() ),
13662- username, password,
13663- tr( "Authentication required" ) );
13661+ QStringLiteral( "%1 at %2" ).arg( auth->realm(), reply->url().host() ),
13662+ username, password,
13663+ tr( "Authentication required" ) );
1366413664 if ( !ok )
1366513665 return;
1366613666
@@ -13671,16 +13671,16 @@ void QgisApp::namAuthenticationRequired( QNetworkReply *inReply, QAuthenticator
1367113671 break;
1367213672
1367313673 // credentials didn't change - stored ones probably wrong? clear password and retry
13674- QgsCredentials::instance()->put(
13675- QStringLiteral( "%1 at %2" ).arg( auth->realm(), reply->url().host() ),
13676- username, QString() );
13674+ QgsCredentials::instance()->put(
13675+ QStringLiteral( "%1 at %2" ).arg( auth->realm(), reply->url().host() ),
13676+ username, QString() );
1367713677 }
1367813678
1367913679 // save credentials
13680- QgsCredentials::instance()->put(
13681- QStringLiteral( "%1 at %2" ).arg( auth->realm(), reply->url().host() ),
13682- username, password
13683- );
13680+ QgsCredentials::instance()->put(
13681+ QStringLiteral( "%1 at %2" ).arg( auth->realm(), reply->url().host() ),
13682+ username, password
13683+ );
1368413684
1368513685 auth->setUser( username );
1368613686 auth->setPassword( password );
0 commit comments