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

Be able to populate user db with default values #36

Closed
micky2be opened this issue Mar 2, 2016 · 4 comments
Closed

Be able to populate user db with default values #36

micky2be opened this issue Mar 2, 2016 · 4 comments

Comments

@micky2be
Copy link
Contributor

micky2be commented Mar 2, 2016

When a user register, would be nice to be able to populate the user databases with default values.
Something we could put under model perhaps.

@cgestes
Copy link
Contributor

cgestes commented Mar 2, 2016

Maybe it can be done by replicating a database to the newly created one.

On Wed, 2 Mar 2016 09:26 Micky Brunetti, notifications@github.com wrote:

When a user register, would be nice to be able to populate the user
databases with default values.
Something we could put under model perhaps.


Reply to this email directly or view it on GitHub
#36.

@colinskow
Copy link
Owner

You may find the on signup event helpful. The userDoc object will tell you what the database is named and you can populate it as you like.

@colinskow
Copy link
Owner

Closing. Feel free to re-open if you have further questions.

@micky2be
Copy link
Contributor Author

I"m using superlogin.onCreate(fn). Works pretty well for what I need.

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

3 participants