{"action":"created","issue":{"url":"https://api.github.com/repos/meteor-useraccounts/core/issues/524","repository_url":"https://api.github.com/repos/meteor-useraccounts/core","labels_url":"https://api.github.com/repos/meteor-useraccounts/core/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/meteor-useraccounts/core/issues/524/comments","events_url":"https://api.github.com/repos/meteor-useraccounts/core/issues/524/events","html_url":"https://github.com/meteor-useraccounts/core/issues/524","id":103982558,"number":524,"title":"useraccounts:iron-routing Singup not working","user":{"login":"armandomendivil","id":5134490,"avatar_url":"https://avatars.githubusercontent.com/u/5134490?v=3","gravatar_id":"","url":"https://api.github.com/users/armandomendivil","html_url":"https://github.com/armandomendivil","followers_url":"https://api.github.com/users/armandomendivil/followers","following_url":"https://api.github.com/users/armandomendivil/following{/other_user}","gists_url":"https://api.github.com/users/armandomendivil/gists{/gist_id}","starred_url":"https://api.github.com/users/armandomendivil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armandomendivil/subscriptions","organizations_url":"https://api.github.com/users/armandomendivil/orgs","repos_url":"https://api.github.com/users/armandomendivil/repos","events_url":"https://api.github.com/users/armandomendivil/events{/privacy}","received_events_url":"https://api.github.com/users/armandomendivil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2015-08-31T04:27:34Z","updated_at":"2016-07-21T16:34:58Z","closed_at":"2016-02-28T06:10:18Z","body":"I want to create a new register but show me an error: signups forbidden\r\n\r\nTemplate.register.events({\r\n    'submit .register-form': function (event) {\r\n        \r\n        event.preventDefault();\r\n\r\n        var email = event.target.email.value;\r\n        var password = event.target.password.value;\r\n\r\n        var user = {'email':email,password:password};\r\n        Accounts.createUser(user,function(err){\r\n            if(!err) {\r\n                toastr.success(\"User created\", \"Success!\"); \r\n                Router.go('/');\r\n            } else {\r\n                console.log(err.reason);\r\n                toastr.error(err.reason, \"Error\")\r\n            }\r\n        });\r\n    }\r\n});"},"comment":{"url":"https://api.github.com/repos/meteor-useraccounts/core/issues/comments/234310134","html_url":"https://github.com/meteor-useraccounts/core/issues/524#issuecomment-234310134","issue_url":"https://api.github.com/repos/meteor-useraccounts/core/issues/524","id":234310134,"user":{"login":"Twisterking","id":4247268,"avatar_url":"https://avatars.githubusercontent.com/u/4247268?v=3","gravatar_id":"","url":"https://api.github.com/users/Twisterking","html_url":"https://github.com/Twisterking","followers_url":"https://api.github.com/users/Twisterking/followers","following_url":"https://api.github.com/users/Twisterking/following{/other_user}","gists_url":"https://api.github.com/users/Twisterking/gists{/gist_id}","starred_url":"https://api.github.com/users/Twisterking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Twisterking/subscriptions","organizations_url":"https://api.github.com/users/Twisterking/orgs","repos_url":"https://api.github.com/users/Twisterking/repos","events_url":"https://api.github.com/users/Twisterking/events{/privacy}","received_events_url":"https://api.github.com/users/Twisterking/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T16:34:58Z","updated_at":"2016-07-21T16:34:58Z","body":"So what do I do if I want to use your package but also want to create a user on the client at some point using the standard `Accounts.createUser()` function? I want to call it on the client as calling it on the server and wrapping it in a standard Meteor method would imply that the password is transferred in plain text when calling the method - which obviously is not ideal! So what's the best way to do this?!"}}
{"actor":{"display_login":"Twisterking"}}