if ($db != "") {
$options["db"] = $db;
}
+ if (($auth_source = getenv("MONGO_AUTH_SOURCE"))) {
+ $options["authSource"] = $auth_source;
+ }
try {
$connection->_link = $connection->connect("mongodb://$server", $options);
if ($password != "") {
SQLite: Allow setting auto increment for empty tables
SQLite: Preserve auto increment when recreating table
MS SQL: Support foreign keys to other DB
+MongoDB: Allow setting authSource from environment variable
Adminer 4.7.2 (released 2019-07-18):
Do not attempt logging in without password (bug #676)