{"action":"created","comment":{"url":"https://api.github.com/repos/StackFocus/PostMaster/pulls/comments/85024239","pull_request_review_id":5763665,"id":85024239,"diff_hunk":"@@ -16,6 +16,7 @@ class LoginForm(Form):\n     \"\"\"\n     username = StringField(label='Username', validators=[DataRequired()])\n     password = PasswordField(label='Password', validators=[DataRequired(), validate_wtforms_password])\n+    two_factor = IntegerField(label='2 Factor', validators=(validators.Optional(),))","path":"postmaster/forms.py","position":13,"original_position":13,"commit_id":"bcd79029f6bc0701c88068949b12cd8ee4fdb5c1","original_commit_id":"bcd79029f6bc0701c88068949b12cd8ee4fdb5c1","user":{"login":"mprahl","id":11711106,"avatar_url":"https://avatars.githubusercontent.com/u/11711106?v=3","gravatar_id":"","url":"https://api.github.com/users/mprahl","html_url":"https://github.com/mprahl","followers_url":"https://api.github.com/users/mprahl/followers","following_url":"https://api.github.com/users/mprahl/following{/other_user}","gists_url":"https://api.github.com/users/mprahl/gists{/gist_id}","starred_url":"https://api.github.com/users/mprahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprahl/subscriptions","organizations_url":"https://api.github.com/users/mprahl/orgs","repos_url":"https://api.github.com/users/mprahl/repos","events_url":"https://api.github.com/users/mprahl/events{/privacy}","received_events_url":"https://api.github.com/users/mprahl/received_events","type":"User","site_admin":false},"body":"I'm also thinking that instead of this, we should pop up a modal if two factor authentication is enabled. This is fine for now though.","created_at":"2016-10-25T23:33:26Z","updated_at":"2016-10-25T23:33:26Z","html_url":"https://github.com/StackFocus/PostMaster/pull/169#discussion_r85024239","pull_request_url":"https://api.github.com/repos/StackFocus/PostMaster/pulls/169","_links":{"self":{"href":"https://api.github.com/repos/StackFocus/PostMaster/pulls/comments/85024239"},"html":{"href":"https://github.com/StackFocus/PostMaster/pull/169#discussion_r85024239"},"pull_request":{"href":"https://api.github.com/repos/StackFocus/PostMaster/pulls/169"}}},"pull_request":{"url":"https://api.github.com/repos/StackFocus/PostMaster/pulls/169","id":90029377,"html_url":"https://github.com/StackFocus/PostMaster/pull/169","diff_url":"https://github.com/StackFocus/PostMaster/pull/169.diff","patch_url":"https://github.com/StackFocus/PostMaster/pull/169.patch","issue_url":"https://api.github.com/repos/StackFocus/PostMaster/issues/169","number":169,"state":"open","locked":false,"title":"Adds 2 factor backend code","user":{"login":"thatarchguy","id":2035462,"avatar_url":"https://avatars.githubusercontent.com/u/2035462?v=3","gravatar_id":"","url":"https://api.github.com/users/thatarchguy","html_url":"https://github.com/thatarchguy","followers_url":"https://api.github.com/users/thatarchguy/followers","following_url":"https://api.github.com/users/thatarchguy/following{/other_user}","gists_url":"https://api.github.com/users/thatarchguy/gists{/gist_id}","starred_url":"https://api.github.com/users/thatarchguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatarchguy/subscriptions","organizations_url":"https://api.github.com/users/thatarchguy/orgs","repos_url":"https://api.github.com/users/thatarchguy/repos","events_url":"https://api.github.com/users/thatarchguy/events{/privacy}","received_events_url":"https://api.github.com/users/thatarchguy/received_events","type":"User","site_admin":false},"body":"Ripped from #165 because of decision to separate the merge into frontend and backend pieces [https://github.com/StackFocus/PostMaster/pull/165#issuecomment-254382905](https://github.com/StackFocus/PostMaster/pull/165#issuecomment-254382905)","created_at":"2016-10-19T15:08:46Z","updated_at":"2016-10-25T23:44:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42c04b621e2ce5db18423e4aab072cffba175b05","assignee":{"login":"mprahl","id":11711106,"avatar_url":"https://avatars.githubusercontent.com/u/11711106?v=3","gravatar_id":"","url":"https://api.github.com/users/mprahl","html_url":"https://github.com/mprahl","followers_url":"https://api.github.com/users/mprahl/followers","following_url":"https://api.github.com/users/mprahl/following{/other_user}","gists_url":"https://api.github.com/users/mprahl/gists{/gist_id}","starred_url":"https://api.github.com/users/mprahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprahl/subscriptions","organizations_url":"https://api.github.com/users/mprahl/orgs","repos_url":"https://api.github.com/users/mprahl/repos","events_url":"https://api.github.com/users/mprahl/events{/privacy}","received_events_url":"https://api.github.com/users/mprahl/received_events","type":"User","site_admin":false},"assignees":[{"login":"mprahl","id":11711106,"avatar_url":"https://avatars.githubusercontent.com/u/11711106?v=3","gravatar_id":"","url":"https://api.github.com/users/mprahl","html_url":"https://github.com/mprahl","followers_url":"https://api.github.com/users/mprahl/followers","following_url":"https://api.github.com/users/mprahl/following{/other_user}","gists_url":"https://api.github.com/users/mprahl/gists{/gist_id}","starred_url":"https://api.github.com/users/mprahl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprahl/subscriptions","organizations_url":"https://api.github.com/users/mprahl/orgs","repos_url":"https://api.github.com/users/mprahl/repos","events_url":"https://api.github.com/users/mprahl/events{/privacy}","received_events_url":"https://api.github.com/users/mprahl/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/StackFocus/PostMaster/pulls/169/commits","review_comments_url":"https://api.github.com/repos/StackFocus/PostMaster/pulls/169/comments","review_comment_url":"https://api.github.com/repos/StackFocus/PostMaster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/StackFocus/PostMaster/issues/169/comments","statuses_url":"https://api.github.com/repos/StackFocus/PostMaster/statuses/bcd79029f6bc0701c88068949b12cd8ee4fdb5c1","head":{"label":"StackFocus:ft-enable_2_factor","ref":"ft-enable_2_factor","sha":"bcd79029f6bc0701c88068949b12cd8ee4fdb5c1","user":{"login":"StackFocus","id":17537189,"avatar_url":"https://avatars.githubusercontent.com/u/17537189?v=3","gravatar_id":"","url":"https://api.github.com/users/StackFocus","html_url":"https://github.com/StackFocus","followers_url":"https://api.github.com/users/StackFocus/followers","following_url":"https://api.github.com/users/StackFocus/following{/other_user}","gists_url":"https://api.github.com/users/StackFocus/gists{/gist_id}","starred_url":"https://api.github.com/users/StackFocus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackFocus/subscriptions","organizations_url":"https://api.github.com/users/StackFocus/orgs","repos_url":"https://api.github.com/users/StackFocus/repos","events_url":"https://api.github.com/users/StackFocus/events{/privacy}","received_events_url":"https://api.github.com/users/StackFocus/received_events","type":"Organization","site_admin":false},"repo":{"id":41331914,"name":"PostMaster","full_name":"StackFocus/PostMaster","owner":{"login":"StackFocus","id":17537189,"avatar_url":"https://avatars.githubusercontent.com/u/17537189?v=3","gravatar_id":"","url":"https://api.github.com/users/StackFocus","html_url":"https://github.com/StackFocus","followers_url":"https://api.github.com/users/StackFocus/followers","following_url":"https://api.github.com/users/StackFocus/following{/other_user}","gists_url":"https://api.github.com/users/StackFocus/gists{/gist_id}","starred_url":"https://api.github.com/users/StackFocus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackFocus/subscriptions","organizations_url":"https://api.github.com/users/StackFocus/orgs","repos_url":"https://api.github.com/users/StackFocus/repos","events_url":"https://api.github.com/users/StackFocus/events{/privacy}","received_events_url":"https://api.github.com/users/StackFocus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackFocus/PostMaster","description":"PostMaster is a beautiful web application to manage domains, users, and aliases on a Linux mail server","fork":false,"url":"https://api.github.com/repos/StackFocus/PostMaster","forks_url":"https://api.github.com/repos/StackFocus/PostMaster/forks","keys_url":"https://api.github.com/repos/StackFocus/PostMaster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackFocus/PostMaster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackFocus/PostMaster/teams","hooks_url":"https://api.github.com/repos/StackFocus/PostMaster/hooks","issue_events_url":"https://api.github.com/repos/StackFocus/PostMaster/issues/events{/number}","events_url":"https://api.github.com/repos/StackFocus/PostMaster/events","assignees_url":"https://api.github.com/repos/StackFocus/PostMaster/assignees{/user}","branches_url":"https://api.github.com/repos/StackFocus/PostMaster/branches{/branch}","tags_url":"https://api.github.com/repos/StackFocus/PostMaster/tags","blobs_url":"https://api.github.com/repos/StackFocus/PostMaster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackFocus/PostMaster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackFocus/PostMaster/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackFocus/PostMaster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackFocus/PostMaster/statuses/{sha}","languages_url":"https://api.github.com/repos/StackFocus/PostMaster/languages","stargazers_url":"https://api.github.com/repos/StackFocus/PostMaster/stargazers","contributors_url":"https://api.github.com/repos/StackFocus/PostMaster/contributors","subscribers_url":"https://api.github.com/repos/StackFocus/PostMaster/subscribers","subscription_url":"https://api.github.com/repos/StackFocus/PostMaster/subscription","commits_url":"https://api.github.com/repos/StackFocus/PostMaster/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackFocus/PostMaster/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackFocus/PostMaster/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackFocus/PostMaster/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackFocus/PostMaster/contents/{+path}","compare_url":"https://api.github.com/repos/StackFocus/PostMaster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackFocus/PostMaster/merges","archive_url":"https://api.github.com/repos/StackFocus/PostMaster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackFocus/PostMaster/downloads","issues_url":"https://api.github.com/repos/StackFocus/PostMaster/issues{/number}","pulls_url":"https://api.github.com/repos/StackFocus/PostMaster/pulls{/number}","milestones_url":"https://api.github.com/repos/StackFocus/PostMaster/milestones{/number}","notifications_url":"https://api.github.com/repos/StackFocus/PostMaster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackFocus/PostMaster/labels{/name}","releases_url":"https://api.github.com/repos/StackFocus/PostMaster/releases{/id}","deployments_url":"https://api.github.com/repos/StackFocus/PostMaster/deployments","created_at":"2015-08-24T23:22:26Z","updated_at":"2016-08-25T04:39:36Z","pushed_at":"2016-10-19T15:53:51Z","git_url":"git://github.com/StackFocus/PostMaster.git","ssh_url":"git@github.com:StackFocus/PostMaster.git","clone_url":"https://github.com/StackFocus/PostMaster.git","svn_url":"https://github.com/StackFocus/PostMaster","homepage":"","size":2214,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":7,"default_branch":"master"}},"base":{"label":"StackFocus:master","ref":"master","sha":"73f66cb1b1d3ca2f3f7e5887871a1399ea2a703d","user":{"login":"StackFocus","id":17537189,"avatar_url":"https://avatars.githubusercontent.com/u/17537189?v=3","gravatar_id":"","url":"https://api.github.com/users/StackFocus","html_url":"https://github.com/StackFocus","followers_url":"https://api.github.com/users/StackFocus/followers","following_url":"https://api.github.com/users/StackFocus/following{/other_user}","gists_url":"https://api.github.com/users/StackFocus/gists{/gist_id}","starred_url":"https://api.github.com/users/StackFocus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackFocus/subscriptions","organizations_url":"https://api.github.com/users/StackFocus/orgs","repos_url":"https://api.github.com/users/StackFocus/repos","events_url":"https://api.github.com/users/StackFocus/events{/privacy}","received_events_url":"https://api.github.com/users/StackFocus/received_events","type":"Organization","site_admin":false},"repo":{"id":41331914,"name":"PostMaster","full_name":"StackFocus/PostMaster","owner":{"login":"StackFocus","id":17537189,"avatar_url":"https://avatars.githubusercontent.com/u/17537189?v=3","gravatar_id":"","url":"https://api.github.com/users/StackFocus","html_url":"https://github.com/StackFocus","followers_url":"https://api.github.com/users/StackFocus/followers","following_url":"https://api.github.com/users/StackFocus/following{/other_user}","gists_url":"https://api.github.com/users/StackFocus/gists{/gist_id}","starred_url":"https://api.github.com/users/StackFocus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StackFocus/subscriptions","organizations_url":"https://api.github.com/users/StackFocus/orgs","repos_url":"https://api.github.com/users/StackFocus/repos","events_url":"https://api.github.com/users/StackFocus/events{/privacy}","received_events_url":"https://api.github.com/users/StackFocus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/StackFocus/PostMaster","description":"PostMaster is a beautiful web application to manage domains, users, and aliases on a Linux mail server","fork":false,"url":"https://api.github.com/repos/StackFocus/PostMaster","forks_url":"https://api.github.com/repos/StackFocus/PostMaster/forks","keys_url":"https://api.github.com/repos/StackFocus/PostMaster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StackFocus/PostMaster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StackFocus/PostMaster/teams","hooks_url":"https://api.github.com/repos/StackFocus/PostMaster/hooks","issue_events_url":"https://api.github.com/repos/StackFocus/PostMaster/issues/events{/number}","events_url":"https://api.github.com/repos/StackFocus/PostMaster/events","assignees_url":"https://api.github.com/repos/StackFocus/PostMaster/assignees{/user}","branches_url":"https://api.github.com/repos/StackFocus/PostMaster/branches{/branch}","tags_url":"https://api.github.com/repos/StackFocus/PostMaster/tags","blobs_url":"https://api.github.com/repos/StackFocus/PostMaster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StackFocus/PostMaster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StackFocus/PostMaster/git/refs{/sha}","trees_url":"https://api.github.com/repos/StackFocus/PostMaster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StackFocus/PostMaster/statuses/{sha}","languages_url":"https://api.github.com/repos/StackFocus/PostMaster/languages","stargazers_url":"https://api.github.com/repos/StackFocus/PostMaster/stargazers","contributors_url":"https://api.github.com/repos/StackFocus/PostMaster/contributors","subscribers_url":"https://api.github.com/repos/StackFocus/PostMaster/subscribers","subscription_url":"https://api.github.com/repos/StackFocus/PostMaster/subscription","commits_url":"https://api.github.com/repos/StackFocus/PostMaster/commits{/sha}","git_commits_url":"https://api.github.com/repos/StackFocus/PostMaster/git/commits{/sha}","comments_url":"https://api.github.com/repos/StackFocus/PostMaster/comments{/number}","issue_comment_url":"https://api.github.com/repos/StackFocus/PostMaster/issues/comments{/number}","contents_url":"https://api.github.com/repos/StackFocus/PostMaster/contents/{+path}","compare_url":"https://api.github.com/repos/StackFocus/PostMaster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StackFocus/PostMaster/merges","archive_url":"https://api.github.com/repos/StackFocus/PostMaster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StackFocus/PostMaster/downloads","issues_url":"https://api.github.com/repos/StackFocus/PostMaster/issues{/number}","pulls_url":"https://api.github.com/repos/StackFocus/PostMaster/pulls{/number}","milestones_url":"https://api.github.com/repos/StackFocus/PostMaster/milestones{/number}","notifications_url":"https://api.github.com/repos/StackFocus/PostMaster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StackFocus/PostMaster/labels{/name}","releases_url":"https://api.github.com/repos/StackFocus/PostMaster/releases{/id}","deployments_url":"https://api.github.com/repos/StackFocus/PostMaster/deployments","created_at":"2015-08-24T23:22:26Z","updated_at":"2016-08-25T04:39:36Z","pushed_at":"2016-10-19T15:53:51Z","git_url":"git://github.com/StackFocus/PostMaster.git","ssh_url":"git@github.com:StackFocus/PostMaster.git","clone_url":"https://github.com/StackFocus/PostMaster.git","svn_url":"https://github.com/StackFocus/PostMaster","homepage":"","size":2214,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/StackFocus/PostMaster/pulls/169"},"html":{"href":"https://github.com/StackFocus/PostMaster/pull/169"},"issue":{"href":"https://api.github.com/repos/StackFocus/PostMaster/issues/169"},"comments":{"href":"https://api.github.com/repos/StackFocus/PostMaster/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/StackFocus/PostMaster/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/StackFocus/PostMaster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/StackFocus/PostMaster/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/StackFocus/PostMaster/statuses/bcd79029f6bc0701c88068949b12cd8ee4fdb5c1"}}}}
{"actor":{"display_login":"mprahl"}}