mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
support DB_AUTH_SOURCE
This commit is contained in:
parent
dfadb88ca2
commit
e7c2e8a28b
@ -19,6 +19,10 @@ function getConnectionConfig(obj) {
|
||||
auth.push("/?authMechanism=DEFAULT")
|
||||
}
|
||||
|
||||
if (DB_AUTH_SOURCE && DB_USER) {
|
||||
auth.push(`&authSource=${DB_AUTH_SOURCE}`)
|
||||
}
|
||||
|
||||
auth = auth.join("")
|
||||
|
||||
return [
|
||||
|
Loading…
x
Reference in New Issue
Block a user