Skip to content

Commit

Permalink
Don't try to sync passwords on CI runs
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 5, 2025
1 parent aee4bb5 commit fe001a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/auth/qgsauthmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ bool QgsAuthManager::resetMasterPassword( const QString &newpass, const QString
emit messageLog( tr( err ), authManTag(), Qgis::MessageLevel::Warning );
}

if ( passwordHelperEnabled() && !passwordHelperSync() )
if ( qgetenv( "QGIS_CONTINUOUS_INTEGRATION_RUN" ) != QStringLiteral( "true" ) && passwordHelperEnabled() && !passwordHelperSync() )
{
ok = false;
const QString err = tr( "Master password reset FAILED: could not sync password helper: %1" ).arg( passwordHelperErrorMessage() );
Expand Down

0 comments on commit fe001a9

Please sign in to comment.