Skip to content

Commit 767f11f

Browse files
authored
Fix SSL/Certificate authentication
See ticket #59
1 parent c6702ce commit 767f11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EntityFramework6.Npgsql/NpgsqlServices.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static void UsingPostgresDbConnection(NpgsqlConnection connection, Action<Npgsql
183183
Pooling = false
184184
};
185185

186-
using (var masterConnection = new NpgsqlConnection(connectionBuilder.ConnectionString))
186+
using (var masterConnection = connection.CloneWith(connectionBuilder.ConnectionString))
187187
{
188188
masterConnection.Open();//using's Dispose will close it even if exception...
189189
action(masterConnection);

0 commit comments

Comments
 (0)