Closed CraigCarey closed 9 years ago
Hi, I had the same issue. It was because I was creating an incomplete user (no email) manually using Meteor.users.insert instead of using Accounts.createUser with username, email, password and profile.
That was it, thanks.
It doesn't work when you add facebook users
@morrismukiri, I got around this by adding a dummy email account during the account creation:
Accounts.onCreateUser(function(options, user) {
if (!user.emails) {
user.emails = [{address: user.username + "@facebook.user", verified: false}];
}
}
I did the same, I used the email in facebook profile as the email, but it still didn't work. I also add other info to the user profile. When I remove the facebook users from the users collection, the remaining users appear in the admin
+1. Not working with Facebook users
I ended up hiding the users collection from admin and adding my own users collection with the fields I needed.
The Accounts.onCreateUser
does not work with facebook redirect.
Here's how i did it:
Accounts.onCreateUser(function(options, user) {
if (!user.emails) {
user.emails = [{address: user.services.facebook.email, verified: false}];
}
return user;
});
I can't seem to get any data to display in the User table. The Dashboard widget shows that I have 7 users, and I can view the users in my browser console with "Meteor.users.find().fetch()".
When I open the Users view from the dashboard I get an empty table with the message:
and in the browser console:
I have tried all sorts of publications and none, have used the standard schema from aldeed and have tried it without. All of my other Collections are displayed without issue. Please help.