mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
support DB_AUTH_SOURCE
This commit is contained in:
parent
402870178a
commit
e89510abe6
@ -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