{"action":"created","comment":{"url":"https://api.github.com/repos/zulip/zulip/pulls/comments/114213087","pull_request_review_id":35661456,"id":114213087,"diff_hunk":"@@ -32,39 +32,46 @@ <h1 class=\"get-started\">{{ _(\"Sign up for Zulip\") }}</h1>\n             </div>\n             {% endif %}\n             <div class=\"right-side\">\n-                <form class=\"form-inline\" id=\"send_confirm\" name=\"email_form\"\n-                    action=\"{{ current_url() }}\" method=\"post\">\n-                    {{ csrf_input }}\n-\n-                    <div class=\"input-box no-validate\">\n-                        <input type=\"email\" id=\"email\" class=\"email\" name=\"email\" value=\"\" required />\n-                        <label>Email</label>\n-                        <div class=\"required\"></div>\n-                        <img class=\"valid\" src=\"/static/images/checkbox-valid.svg\" />\n+                {% if no_auth_enabled %}\n+                    <div class=\"alert\">\n+                        No Authentication Backend is enabled. Please read <a href=\"http://zulip.readthedocs.io/en/latest/prod-install.html#step-3-configure-zulip\">the configuration help</a> to set up an authentication backend.\n                     </div>\n+                {% else %}","path":"templates/zerver/accounts_home.html","position":17,"original_position":17,"commit_id":"28e984ee5bb272f16fe3ac74b7049625fc50d8b0","original_commit_id":"28e984ee5bb272f16fe3ac74b7049625fc50d8b0","user":{"login":"timabbott","id":2746074,"avatar_url":"https://avatars3.githubusercontent.com/u/2746074?v=3","gravatar_id":"","url":"https://api.github.com/users/timabbott","html_url":"https://github.com/timabbott","followers_url":"https://api.github.com/users/timabbott/followers","following_url":"https://api.github.com/users/timabbott/following{/other_user}","gists_url":"https://api.github.com/users/timabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/timabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timabbott/subscriptions","organizations_url":"https://api.github.com/users/timabbott/orgs","repos_url":"https://api.github.com/users/timabbott/repos","events_url":"https://api.github.com/users/timabbott/events{/privacy}","received_events_url":"https://api.github.com/users/timabbott/received_events","type":"User","site_admin":false},"body":"I'm happy to help with tweaking the linter (or whatever's needed to make this readable) :)","created_at":"2017-05-01T22:11:35Z","updated_at":"2017-05-01T22:11:36Z","html_url":"https://github.com/zulip/zulip/pull/4630#discussion_r114213087","pull_request_url":"https://api.github.com/repos/zulip/zulip/pulls/4630","_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments/114213087"},"html":{"href":"https://github.com/zulip/zulip/pull/4630#discussion_r114213087"},"pull_request":{"href":"https://api.github.com/repos/zulip/zulip/pulls/4630"}}},"pull_request":{"url":"https://api.github.com/repos/zulip/zulip/pulls/4630","id":117858848,"html_url":"https://github.com/zulip/zulip/pull/4630","diff_url":"https://github.com/zulip/zulip/pull/4630.diff","patch_url":"https://github.com/zulip/zulip/pull/4630.patch","issue_url":"https://api.github.com/repos/zulip/zulip/issues/4630","number":4630,"state":"open","locked":false,"title":"[WIP]ux: Display error on login/registration attempt if no auth backend is enabled","user":{"login":"aero31aero","id":8033238,"avatar_url":"https://avatars1.githubusercontent.com/u/8033238?v=3","gravatar_id":"","url":"https://api.github.com/users/aero31aero","html_url":"https://github.com/aero31aero","followers_url":"https://api.github.com/users/aero31aero/followers","following_url":"https://api.github.com/users/aero31aero/following{/other_user}","gists_url":"https://api.github.com/users/aero31aero/gists{/gist_id}","starred_url":"https://api.github.com/users/aero31aero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aero31aero/subscriptions","organizations_url":"https://api.github.com/users/aero31aero/orgs","repos_url":"https://api.github.com/users/aero31aero/repos","events_url":"https://api.github.com/users/aero31aero/events{/privacy}","received_events_url":"https://api.github.com/users/aero31aero/received_events","type":"User","site_admin":false},"body":"Please review and suggest changes. I'll update the documentation on the error page that I created. Is my method of checking for auth backends reliable?\r\n\r\nTESTING: I put the following lines at the end of my `settings.py` to force the behaviour.\r\n```\r\nAUTHENTICATION_BACKENDS = ()\r\nAUTHENTICATION_BACKENDS += ('zproject.backends.ZulipDummyBackend',)\r\n```","created_at":"2017-04-27T04:51:22Z","updated_at":"2017-05-01T22:11:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4e915c5875dc72c892224695f0959502e54d804","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zulip/zulip/pulls/4630/commits","review_comments_url":"https://api.github.com/repos/zulip/zulip/pulls/4630/comments","review_comment_url":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/4630/comments","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/28e984ee5bb272f16fe3ac74b7049625fc50d8b0","head":{"label":"aero31aero:no-auth-backend","ref":"no-auth-backend","sha":"28e984ee5bb272f16fe3ac74b7049625fc50d8b0","user":{"login":"aero31aero","id":8033238,"avatar_url":"https://avatars1.githubusercontent.com/u/8033238?v=3","gravatar_id":"","url":"https://api.github.com/users/aero31aero","html_url":"https://github.com/aero31aero","followers_url":"https://api.github.com/users/aero31aero/followers","following_url":"https://api.github.com/users/aero31aero/following{/other_user}","gists_url":"https://api.github.com/users/aero31aero/gists{/gist_id}","starred_url":"https://api.github.com/users/aero31aero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aero31aero/subscriptions","organizations_url":"https://api.github.com/users/aero31aero/orgs","repos_url":"https://api.github.com/users/aero31aero/repos","events_url":"https://api.github.com/users/aero31aero/events{/privacy}","received_events_url":"https://api.github.com/users/aero31aero/received_events","type":"User","site_admin":false},"repo":{"id":80087526,"name":"zulip","full_name":"aero31aero/zulip","owner":{"login":"aero31aero","id":8033238,"avatar_url":"https://avatars1.githubusercontent.com/u/8033238?v=3","gravatar_id":"","url":"https://api.github.com/users/aero31aero","html_url":"https://github.com/aero31aero","followers_url":"https://api.github.com/users/aero31aero/followers","following_url":"https://api.github.com/users/aero31aero/following{/other_user}","gists_url":"https://api.github.com/users/aero31aero/gists{/gist_id}","starred_url":"https://api.github.com/users/aero31aero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aero31aero/subscriptions","organizations_url":"https://api.github.com/users/aero31aero/orgs","repos_url":"https://api.github.com/users/aero31aero/repos","events_url":"https://api.github.com/users/aero31aero/events{/privacy}","received_events_url":"https://api.github.com/users/aero31aero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aero31aero/zulip","description":"Zulip server - powerful open source group chat","fork":true,"url":"https://api.github.com/repos/aero31aero/zulip","forks_url":"https://api.github.com/repos/aero31aero/zulip/forks","keys_url":"https://api.github.com/repos/aero31aero/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aero31aero/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aero31aero/zulip/teams","hooks_url":"https://api.github.com/repos/aero31aero/zulip/hooks","issue_events_url":"https://api.github.com/repos/aero31aero/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/aero31aero/zulip/events","assignees_url":"https://api.github.com/repos/aero31aero/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/aero31aero/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/aero31aero/zulip/tags","blobs_url":"https://api.github.com/repos/aero31aero/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aero31aero/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aero31aero/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/aero31aero/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aero31aero/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/aero31aero/zulip/languages","stargazers_url":"https://api.github.com/repos/aero31aero/zulip/stargazers","contributors_url":"https://api.github.com/repos/aero31aero/zulip/contributors","subscribers_url":"https://api.github.com/repos/aero31aero/zulip/subscribers","subscription_url":"https://api.github.com/repos/aero31aero/zulip/subscription","commits_url":"https://api.github.com/repos/aero31aero/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/aero31aero/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/aero31aero/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/aero31aero/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/aero31aero/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/aero31aero/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aero31aero/zulip/merges","archive_url":"https://api.github.com/repos/aero31aero/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aero31aero/zulip/downloads","issues_url":"https://api.github.com/repos/aero31aero/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/aero31aero/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/aero31aero/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/aero31aero/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aero31aero/zulip/labels{/name}","releases_url":"https://api.github.com/repos/aero31aero/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/aero31aero/zulip/deployments","created_at":"2017-01-26T05:03:57Z","updated_at":"2017-01-26T05:04:04Z","pushed_at":"2017-05-01T19:40:02Z","git_url":"git://github.com/aero31aero/zulip.git","ssh_url":"git@github.com:aero31aero/zulip.git","clone_url":"https://github.com/aero31aero/zulip.git","svn_url":"https://github.com/aero31aero/zulip","homepage":"","size":155961,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"zulip:master","ref":"master","sha":"0785c377a49333f8a8064f4eb9038de3a22de179","user":{"login":"zulip","id":4921959,"avatar_url":"https://avatars1.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"repo":{"id":43160685,"name":"zulip","full_name":"zulip/zulip","owner":{"login":"zulip","id":4921959,"avatar_url":"https://avatars1.githubusercontent.com/u/4921959?v=3","gravatar_id":"","url":"https://api.github.com/users/zulip","html_url":"https://github.com/zulip","followers_url":"https://api.github.com/users/zulip/followers","following_url":"https://api.github.com/users/zulip/following{/other_user}","gists_url":"https://api.github.com/users/zulip/gists{/gist_id}","starred_url":"https://api.github.com/users/zulip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zulip/subscriptions","organizations_url":"https://api.github.com/users/zulip/orgs","repos_url":"https://api.github.com/users/zulip/repos","events_url":"https://api.github.com/users/zulip/events{/privacy}","received_events_url":"https://api.github.com/users/zulip/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zulip/zulip","description":"Zulip server - powerful open source group chat","fork":false,"url":"https://api.github.com/repos/zulip/zulip","forks_url":"https://api.github.com/repos/zulip/zulip/forks","keys_url":"https://api.github.com/repos/zulip/zulip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zulip/zulip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zulip/zulip/teams","hooks_url":"https://api.github.com/repos/zulip/zulip/hooks","issue_events_url":"https://api.github.com/repos/zulip/zulip/issues/events{/number}","events_url":"https://api.github.com/repos/zulip/zulip/events","assignees_url":"https://api.github.com/repos/zulip/zulip/assignees{/user}","branches_url":"https://api.github.com/repos/zulip/zulip/branches{/branch}","tags_url":"https://api.github.com/repos/zulip/zulip/tags","blobs_url":"https://api.github.com/repos/zulip/zulip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zulip/zulip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zulip/zulip/git/refs{/sha}","trees_url":"https://api.github.com/repos/zulip/zulip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zulip/zulip/statuses/{sha}","languages_url":"https://api.github.com/repos/zulip/zulip/languages","stargazers_url":"https://api.github.com/repos/zulip/zulip/stargazers","contributors_url":"https://api.github.com/repos/zulip/zulip/contributors","subscribers_url":"https://api.github.com/repos/zulip/zulip/subscribers","subscription_url":"https://api.github.com/repos/zulip/zulip/subscription","commits_url":"https://api.github.com/repos/zulip/zulip/commits{/sha}","git_commits_url":"https://api.github.com/repos/zulip/zulip/git/commits{/sha}","comments_url":"https://api.github.com/repos/zulip/zulip/comments{/number}","issue_comment_url":"https://api.github.com/repos/zulip/zulip/issues/comments{/number}","contents_url":"https://api.github.com/repos/zulip/zulip/contents/{+path}","compare_url":"https://api.github.com/repos/zulip/zulip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zulip/zulip/merges","archive_url":"https://api.github.com/repos/zulip/zulip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zulip/zulip/downloads","issues_url":"https://api.github.com/repos/zulip/zulip/issues{/number}","pulls_url":"https://api.github.com/repos/zulip/zulip/pulls{/number}","milestones_url":"https://api.github.com/repos/zulip/zulip/milestones{/number}","notifications_url":"https://api.github.com/repos/zulip/zulip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zulip/zulip/labels{/name}","releases_url":"https://api.github.com/repos/zulip/zulip/releases{/id}","deployments_url":"https://api.github.com/repos/zulip/zulip/deployments","created_at":"2015-09-25T16:37:25Z","updated_at":"2017-05-01T20:47:35Z","pushed_at":"2017-05-01T22:08:08Z","git_url":"git://github.com/zulip/zulip.git","ssh_url":"git@github.com:zulip/zulip.git","clone_url":"https://github.com/zulip/zulip.git","svn_url":"https://github.com/zulip/zulip","homepage":"","size":155960,"stargazers_count":4682,"watchers_count":4682,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1234,"mirror_url":null,"open_issues_count":750,"forks":1234,"open_issues":750,"watchers":4682,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zulip/zulip/pulls/4630"},"html":{"href":"https://github.com/zulip/zulip/pull/4630"},"issue":{"href":"https://api.github.com/repos/zulip/zulip/issues/4630"},"comments":{"href":"https://api.github.com/repos/zulip/zulip/issues/4630/comments"},"review_comments":{"href":"https://api.github.com/repos/zulip/zulip/pulls/4630/comments"},"review_comment":{"href":"https://api.github.com/repos/zulip/zulip/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zulip/zulip/pulls/4630/commits"},"statuses":{"href":"https://api.github.com/repos/zulip/zulip/statuses/28e984ee5bb272f16fe3ac74b7049625fc50d8b0"}}}}
{"actor":{"display_login":"timabbott"}}