{"action":"created","issue":{"url":"https://api.github.com/repos/keboola/developer-portal/issues/212","repository_url":"https://api.github.com/repos/keboola/developer-portal","labels_url":"https://api.github.com/repos/keboola/developer-portal/issues/212/labels{/name}","comments_url":"https://api.github.com/repos/keboola/developer-portal/issues/212/comments","events_url":"https://api.github.com/repos/keboola/developer-portal/issues/212/events","html_url":"https://github.com/keboola/developer-portal/pull/212","id":335315275,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MDQyOTk3","number":212,"title":"Disable mfa API call","user":{"login":"JakubMatejka","id":215660,"node_id":"MDQ6VXNlcjIxNTY2MA==","avatar_url":"https://avatars2.githubusercontent.com/u/215660?v=4","gravatar_id":"","url":"https://api.github.com/users/JakubMatejka","html_url":"https://github.com/JakubMatejka","followers_url":"https://api.github.com/users/JakubMatejka/followers","following_url":"https://api.github.com/users/JakubMatejka/following{/other_user}","gists_url":"https://api.github.com/users/JakubMatejka/gists{/gist_id}","starred_url":"https://api.github.com/users/JakubMatejka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakubMatejka/subscriptions","organizations_url":"https://api.github.com/users/JakubMatejka/orgs","repos_url":"https://api.github.com/users/JakubMatejka/repos","events_url":"https://api.github.com/users/JakubMatejka/events{/privacy}","received_events_url":"https://api.github.com/users/JakubMatejka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-25T08:52:44Z","updated_at":"2018-06-25T13:45:52Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/keboola/developer-portal/pulls/212","html_url":"https://github.com/keboola/developer-portal/pull/212","diff_url":"https://github.com/keboola/developer-portal/pull/212.diff","patch_url":"https://github.com/keboola/developer-portal/pull/212.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/keboola/developer-portal/issues/comments/399957065","html_url":"https://github.com/keboola/developer-portal/pull/212#issuecomment-399957065","issue_url":"https://api.github.com/repos/keboola/developer-portal/issues/212","id":399957065,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTk1NzA2NQ==","user":{"login":"JakubMatejka","id":215660,"node_id":"MDQ6VXNlcjIxNTY2MA==","avatar_url":"https://avatars2.githubusercontent.com/u/215660?v=4","gravatar_id":"","url":"https://api.github.com/users/JakubMatejka","html_url":"https://github.com/JakubMatejka","followers_url":"https://api.github.com/users/JakubMatejka/followers","following_url":"https://api.github.com/users/JakubMatejka/following{/other_user}","gists_url":"https://api.github.com/users/JakubMatejka/gists{/gist_id}","starred_url":"https://api.github.com/users/JakubMatejka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakubMatejka/subscriptions","organizations_url":"https://api.github.com/users/JakubMatejka/orgs","repos_url":"https://api.github.com/users/JakubMatejka/repos","events_url":"https://api.github.com/users/JakubMatejka/events{/privacy}","received_events_url":"https://api.github.com/users/JakubMatejka/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T13:45:51Z","updated_at":"2018-06-25T13:45:51Z","author_association":"MEMBER","body":"Nevím jestli to ještě někdo má, můžu na to napsat skript, ale řešil bych je\nmanuálně jako doteď.\n\nOn Mon, 25 Jun 2018, 15:40 Ondřej Hlaváček, <notifications@github.com>\nwrote:\n\n> *@ondrejhlavacek* commented on this pull request.\n> ------------------------------\n>\n> In src/lib/userPool.js\n> <https://github.com/keboola/developer-portal/pull/212#discussion_r197799203>\n> :\n>\n> > @@ -76,6 +76,17 @@ export default class UserPool {\n>        .then(() => this.updateUserAttribute(email, 'custom:isAdmin', '1'));\n>    }\n>\n> +  disableUserMfa(username) {\n> +    return this.cognito.adminSetUserMFAPreference({\n> +      UserPoolId: this.poolId,\n> +      Username: username,\n> +      SoftwareTokenMfaSettings: {\n>\n> co když ten user má ještě SMS? nebo to už dneska nikdo nemá?\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/keboola/developer-portal/pull/212#pullrequestreview-131611506>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AANKbFqzE7tQpnWVmtNwhD5-jvBv0Qc8ks5uAOhRgaJpZM4U1wIa>\n> .\n>\n"}}
{"actor":{"display_login":"JakubMatejka"}}