Skip to content
Permalink
Browse files

Merge pull request #7351 from m-kuhn/auth_server_update_config

Allow updating SSL cert custom configuration
  • Loading branch information
m-kuhn committed Jul 3, 2018
2 parents 045b88e + 85b382c commit 76f574ad5865b7eb9d4842193a67f109f829366b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/auth/qgsauthmanager.cpp
@@ -1937,7 +1937,7 @@ bool QgsAuthManager::storeSslCertCustomConfig( const QgsAuthConfigSslServer &con
QString certpem( cert.toPem() );

QSqlQuery query( authDatabaseConnection() );
query.prepare( QString( "INSERT INTO %1 (id, host, cert, config) "
query.prepare( QString( "INSERT OR REPLACE INTO %1 (id, host, cert, config) "
"VALUES (:id, :host, :cert, :config)" ).arg( authDatabaseServersTable() ) );

query.bindValue( QStringLiteral( ":id" ), id );

0 comments on commit 76f574a

Please sign in to comment.
You can’t perform that action at this time.