{"action":"created","comment":{"url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/comments/25774008","id":25774008,"diff_hunk":"@@ -118,14 +118,32 @@ accountsUIBootstrap3.setCustomSignupOptions = function() {\n }\n ```\n \n+### Disable User Account Creation\n+\n+If you would like to prevent users from creating new accounts, you can choose to not show the account creation buttons as shown below.\n+\n+```javascript\n+Accounts.ui.config({\n+    forbidClientAccountCreation : true\n+});\n+```\n+\n+While this flag prevents the user from seeing the \"Create Account\" link, the server will still accept new accounts. You can prevent new account creation altogether by always returning false in the [account validation stage](http://docs.meteor.com/#/full/accounts_validatenewuser) on the server. Here is an example (place in server-side code):","path":"README.md","position":14,"original_position":14,"commit_id":"fbfca5df9e458707f15bdfb668ab8288ce40b8dd","original_commit_id":"fbfca5df9e458707f15bdfb668ab8288ce40b8dd","user":{"login":"reustle","id":304560,"avatar_url":"https://avatars.githubusercontent.com/u/304560?v=3","gravatar_id":"","url":"https://api.github.com/users/reustle","html_url":"https://github.com/reustle","followers_url":"https://api.github.com/users/reustle/followers","following_url":"https://api.github.com/users/reustle/following{/other_user}","gists_url":"https://api.github.com/users/reustle/gists{/gist_id}","starred_url":"https://api.github.com/users/reustle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reustle/subscriptions","organizations_url":"https://api.github.com/users/reustle/orgs","repos_url":"https://api.github.com/users/reustle/repos","events_url":"https://api.github.com/users/reustle/events{/privacy}","received_events_url":"https://api.github.com/users/reustle/received_events","type":"User","site_admin":false},"body":"Oh great, then I'll scrap this bit.","created_at":"2015-03-04T13:33:24Z","updated_at":"2015-03-04T13:33:24Z","html_url":"https://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3/pull/82#discussion_r25774008","pull_request_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/82","_links":{"self":{"href":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/comments/25774008"},"html":{"href":"https://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3/pull/82#discussion_r25774008"},"pull_request":{"href":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/82"}}},"pull_request":{"url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/82","id":30464609,"html_url":"https://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3/pull/82","diff_url":"https://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3/pull/82.diff","patch_url":"https://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3/pull/82.patch","issue_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/issues/82","number":82,"state":"open","locked":false,"title":"Forbid Client Account Creation","user":{"login":"reustle","id":304560,"avatar_url":"https://avatars.githubusercontent.com/u/304560?v=3","gravatar_id":"","url":"https://api.github.com/users/reustle","html_url":"https://github.com/reustle","followers_url":"https://api.github.com/users/reustle/followers","following_url":"https://api.github.com/users/reustle/following{/other_user}","gists_url":"https://api.github.com/users/reustle/gists{/gist_id}","starred_url":"https://api.github.com/users/reustle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reustle/subscriptions","organizations_url":"https://api.github.com/users/reustle/orgs","repos_url":"https://api.github.com/users/reustle/repos","events_url":"https://api.github.com/users/reustle/events{/privacy}","received_events_url":"https://api.github.com/users/reustle/received_events","type":"User","site_admin":false},"body":"It looks like it was already partially implemented, but I finished it up and added a config param / readme note.\r\n\r\nWould like to hear your thoughts on the new readme text, I think it can be improved.","created_at":"2015-03-04T13:28:01Z","updated_at":"2015-03-04T13:33:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"228da970c4a7133b85d7c6615561f5032fd568f0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/82/commits","review_comments_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/82/comments","review_comment_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/issues/82/comments","statuses_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/statuses/fbfca5df9e458707f15bdfb668ab8288ce40b8dd","head":{"label":"reustle:forbid-signup","ref":"forbid-signup","sha":"fbfca5df9e458707f15bdfb668ab8288ce40b8dd","user":{"login":"reustle","id":304560,"avatar_url":"https://avatars.githubusercontent.com/u/304560?v=3","gravatar_id":"","url":"https://api.github.com/users/reustle","html_url":"https://github.com/reustle","followers_url":"https://api.github.com/users/reustle/followers","following_url":"https://api.github.com/users/reustle/following{/other_user}","gists_url":"https://api.github.com/users/reustle/gists{/gist_id}","starred_url":"https://api.github.com/users/reustle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reustle/subscriptions","organizations_url":"https://api.github.com/users/reustle/orgs","repos_url":"https://api.github.com/users/reustle/repos","events_url":"https://api.github.com/users/reustle/events{/privacy}","received_events_url":"https://api.github.com/users/reustle/received_events","type":"User","site_admin":false},"repo":{"id":31642465,"name":"meteor-accounts-ui-bootstrap-3","full_name":"reustle/meteor-accounts-ui-bootstrap-3","owner":{"login":"reustle","id":304560,"avatar_url":"https://avatars.githubusercontent.com/u/304560?v=3","gravatar_id":"","url":"https://api.github.com/users/reustle","html_url":"https://github.com/reustle","followers_url":"https://api.github.com/users/reustle/followers","following_url":"https://api.github.com/users/reustle/following{/other_user}","gists_url":"https://api.github.com/users/reustle/gists{/gist_id}","starred_url":"https://api.github.com/users/reustle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reustle/subscriptions","organizations_url":"https://api.github.com/users/reustle/orgs","repos_url":"https://api.github.com/users/reustle/repos","events_url":"https://api.github.com/users/reustle/events{/privacy}","received_events_url":"https://api.github.com/users/reustle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/reustle/meteor-accounts-ui-bootstrap-3","description":"accounts-ui package with Bootstrap 3 and localization support","fork":true,"url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3","forks_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/forks","keys_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/teams","hooks_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/hooks","issue_events_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/issues/events{/number}","events_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/events","assignees_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/assignees{/user}","branches_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/branches{/branch}","tags_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/tags","blobs_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/statuses/{sha}","languages_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/languages","stargazers_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/stargazers","contributors_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/contributors","subscribers_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/subscribers","subscription_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/subscription","commits_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/contents/{+path}","compare_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/merges","archive_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/downloads","issues_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/issues{/number}","pulls_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/pulls{/number}","milestones_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/milestones{/number}","notifications_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/labels{/name}","releases_url":"https://api.github.com/repos/reustle/meteor-accounts-ui-bootstrap-3/releases{/id}","created_at":"2015-03-04T06:45:26Z","updated_at":"2015-03-04T13:22:40Z","pushed_at":"2015-03-04T13:30:36Z","git_url":"git://github.com/reustle/meteor-accounts-ui-bootstrap-3.git","ssh_url":"git@github.com:reustle/meteor-accounts-ui-bootstrap-3.git","clone_url":"https://github.com/reustle/meteor-accounts-ui-bootstrap-3.git","svn_url":"https://github.com/reustle/meteor-accounts-ui-bootstrap-3","homepage":"","size":1063,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ianmartorell:master","ref":"master","sha":"62901ce2eae094c4958d93b9f8bc0c9a7305101f","user":{"login":"ianmartorell","id":318800,"avatar_url":"https://avatars.githubusercontent.com/u/318800?v=3","gravatar_id":"","url":"https://api.github.com/users/ianmartorell","html_url":"https://github.com/ianmartorell","followers_url":"https://api.github.com/users/ianmartorell/followers","following_url":"https://api.github.com/users/ianmartorell/following{/other_user}","gists_url":"https://api.github.com/users/ianmartorell/gists{/gist_id}","starred_url":"https://api.github.com/users/ianmartorell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianmartorell/subscriptions","organizations_url":"https://api.github.com/users/ianmartorell/orgs","repos_url":"https://api.github.com/users/ianmartorell/repos","events_url":"https://api.github.com/users/ianmartorell/events{/privacy}","received_events_url":"https://api.github.com/users/ianmartorell/received_events","type":"User","site_admin":false},"repo":{"id":23407526,"name":"meteor-accounts-ui-bootstrap-3","full_name":"ianmartorell/meteor-accounts-ui-bootstrap-3","owner":{"login":"ianmartorell","id":318800,"avatar_url":"https://avatars.githubusercontent.com/u/318800?v=3","gravatar_id":"","url":"https://api.github.com/users/ianmartorell","html_url":"https://github.com/ianmartorell","followers_url":"https://api.github.com/users/ianmartorell/followers","following_url":"https://api.github.com/users/ianmartorell/following{/other_user}","gists_url":"https://api.github.com/users/ianmartorell/gists{/gist_id}","starred_url":"https://api.github.com/users/ianmartorell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianmartorell/subscriptions","organizations_url":"https://api.github.com/users/ianmartorell/orgs","repos_url":"https://api.github.com/users/ianmartorell/repos","events_url":"https://api.github.com/users/ianmartorell/events{/privacy}","received_events_url":"https://api.github.com/users/ianmartorell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3","description":"accounts-ui package with Bootstrap 3 and localization support","fork":true,"url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3","forks_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/forks","keys_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/teams","hooks_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/hooks","issue_events_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/issues/events{/number}","events_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/events","assignees_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/assignees{/user}","branches_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/branches{/branch}","tags_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/tags","blobs_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/statuses/{sha}","languages_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/languages","stargazers_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/stargazers","contributors_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/contributors","subscribers_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/subscribers","subscription_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/subscription","commits_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/contents/{+path}","compare_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/merges","archive_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/downloads","issues_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/issues{/number}","pulls_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls{/number}","milestones_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/milestones{/number}","notifications_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/labels{/name}","releases_url":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/releases{/id}","created_at":"2014-08-27T22:24:12Z","updated_at":"2015-03-04T13:19:25Z","pushed_at":"2015-03-04T13:19:24Z","git_url":"git://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3.git","ssh_url":"git@github.com:ianmartorell/meteor-accounts-ui-bootstrap-3.git","clone_url":"https://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3.git","svn_url":"https://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3","homepage":"","size":1063,"stargazers_count":45,"watchers_count":45,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":14,"forks":46,"open_issues":14,"watchers":45,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/82"},"html":{"href":"https://github.com/ianmartorell/meteor-accounts-ui-bootstrap-3/pull/82"},"issue":{"href":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/issues/82"},"comments":{"href":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/ianmartorell/meteor-accounts-ui-bootstrap-3/statuses/fbfca5df9e458707f15bdfb668ab8288ce40b8dd"}}}}