{"action":"opened","issue":{"url":"https://api.github.com/repos/antonioribeiro/google2fa/issues/7","labels_url":"https://api.github.com/repos/antonioribeiro/google2fa/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/antonioribeiro/google2fa/issues/7/comments","events_url":"https://api.github.com/repos/antonioribeiro/google2fa/issues/7/events","html_url":"https://github.com/antonioribeiro/google2fa/issues/7","id":73680416,"number":7,"title":"Middleware for L5","user":{"login":"tomschlick","id":70184,"avatar_url":"https://avatars.githubusercontent.com/u/70184?v=3","gravatar_id":"","url":"https://api.github.com/users/tomschlick","html_url":"https://github.com/tomschlick","followers_url":"https://api.github.com/users/tomschlick/followers","following_url":"https://api.github.com/users/tomschlick/following{/other_user}","gists_url":"https://api.github.com/users/tomschlick/gists{/gist_id}","starred_url":"https://api.github.com/users/tomschlick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomschlick/subscriptions","organizations_url":"https://api.github.com/users/tomschlick/orgs","repos_url":"https://api.github.com/users/tomschlick/repos","events_url":"https://api.github.com/users/tomschlick/events{/privacy}","received_events_url":"https://api.github.com/users/tomschlick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-06T17:11:52Z","updated_at":"2015-05-06T17:11:52Z","closed_at":null,"body":"If this package had middleware you could require 2fa for certain routes (like /admin & /settings) or all routes. \r\n\r\nIt would redirect to a screen to enter that info then redirect back to the intended resource just like login."}}