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

Enable user profile editing #6

Open
ofermalbin opened this issue Sep 13, 2015 · 2 comments
Open

Enable user profile editing #6

ofermalbin opened this issue Sep 13, 2015 · 2 comments

Comments

@ofermalbin
Copy link

I need enable user profile editing, but in phone_server.js row number 630, there is a function that disable user profile editing:
/** Disable user profile editing **/
Meteor.users.deny({
update: function () {
return true;
}
});

Any Idea?

@okland
Copy link
Owner

okland commented Sep 22, 2015

@ofermalbin You can change it by calling Meteor method instead of doing client side operation for example - Meteor.call('updateUser, userId, ... ) I think it is a better approach for sensitive staff like user profile you can read about it here

@dennishu001
Copy link

@okland I think you have a good point here. However, as this package is supposed to deal with login only, this can cause unexpected rsults for many developers.

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