Skip to content

Commit

Permalink
Added Authentication keyword for ODBC driver (#43757)
Browse files Browse the repository at this point in the history
  • Loading branch information
flashmatt authored Aug 18, 2022
1 parent 708ed2b commit 62f40bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Illuminate/Database/Connectors/SqlServerConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ protected function getSqlSrvDsn(array $config)
$arguments['LoginTimeout'] = $config['login_timeout'];
}

if (isset($config['authentication'])) {
$arguments['Authentication'] = $config['authentication'];
}

return $this->buildConnectString('sqlsrv', $arguments);
}

Expand Down

0 comments on commit 62f40bf

Please sign in to comment.