Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you have multiple users with the same username but in different groups? #19

Open
turbobuilt opened this issue Oct 14, 2015 · 2 comments

Comments

@turbobuilt
Copy link

Does this package allow for users in different groups to have the same username? If so, does it properly handle updates to usernames as well?

Thanks!

@mizzao
Copy link
Collaborator

mizzao commented Oct 14, 2015

Meteor accounts enforces uniqueness of usernames, so unless you are rolling your own accounts system, I don't think that is possible.

This package doesn't care since it only uses the user's _id.

@turbobuilt
Copy link
Author

Ok, makes sense. I'll have to do something myself. Currently I'm trying to append the company _id to the beginning of the username discreetly. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants