Allow Meteor Accounts to have multiple users with the same email address -
i'm building meteor app don't care if 2 people have same email address because i'm using username login key.
i've been searching way setup meteor accounts (accounts-password) make possible couldn't find resource.
is possible ? should roll own registration mechanism small difference ?
in account-base.js, index set
meteor.users._ensureindex('emails.address', {unique: 1, sparse: 1});
this set behaviour. need drop index. looking @ doc, see
meteor.users._dropindex({"emails.address": 1});
will trick, but, new meteor, don't know put , if best approach.
i put in server file , worked fine... research more
Comments
Post a Comment