@@ -13658,9 +13658,9 @@ void QgisApp::namAuthenticationRequired( QNetworkReply *inReply, QAuthenticator
13658
13658
for ( ;; )
13659
13659
{
13660
13660
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" ) );
13664
13664
if ( !ok )
13665
13665
return;
13666
13666
@@ -13671,16 +13671,16 @@ void QgisApp::namAuthenticationRequired( QNetworkReply *inReply, QAuthenticator
13671
13671
break;
13672
13672
13673
13673
// 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() );
13677
13677
}
13678
13678
13679
13679
// 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
+ );
13684
13684
13685
13685
auth->setUser( username );
13686
13686
auth->setPassword( password );
0 commit comments