From 9ec081a88e40f2be720a728a24148076232a1db8 Mon Sep 17 00:00:00 2001 From: Valatka <49370039+Valatka@users.noreply.github.com> Date: Mon, 19 May 2025 16:58:06 +0200 Subject: [PATCH] fix: mssql auth not working --- packages/datasources/mssql/index.cjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/datasources/mssql/index.cjs b/packages/datasources/mssql/index.cjs index 7360078080..1cb9de1a1d 100755 --- a/packages/datasources/mssql/index.cjs +++ b/packages/datasources/mssql/index.cjs @@ -101,7 +101,10 @@ const buildConfig = function (database) { trustServerCertificate: trust_server_certificate === 'true' || trust_server_certificate === true, encrypt: encrypt === 'true' || encrypt === true - } + }, + authentication: { + type: database.authenticationType + } }; if (database.authenticationType === 'default') {