Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- accounts-base 1.2.2* A user account system
- accounts-password 1.1.4* Password support for accounts
- var userNew = {
- password: textPassword,
- username: textUserName,
- profile: {
- address: textAddress
- }
- };
- Accounts.createUser(userNew, function (err) {
- if (err) {
- alert(err.message);
- } else {
- Router.go('/');
- }
- });
- I20160423-17:47:07.299(7)? Exception while invoking method 'createUser' TypeError: Cannot read property 'accessToken' of undefined
- Accounts.config({
- forbidClientAccountCreation : false
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement