mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Allow to configure users collection
This commit is contained in:
@@ -40,7 +40,7 @@ export class AccountsCommon {
|
||||
|
||||
// There is an allow call in accounts_server.js that restricts writes to
|
||||
// this collection.
|
||||
this.users = new Mongo.Collection('users', {
|
||||
this.users = new Mongo.Collection(process.env.MONGO_USERS_COLLECTION || 'users', {
|
||||
_preventAutopublish: true,
|
||||
connection: this.connection,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user