webpackJsonp([38],{2135:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u=n(6),a=o(u),s=n(4),r=o(s),l=n(5),d=o(l),i=n(7),f=o(i),c=n(8),m=o(c),y=n(1),p=o(y),b=n(17),h=n(41),v=n(69),E=n(9),g=o(E),k=g.default.KeyCodes,M=function(e){function t(e){(0,r.default)(this,t);var n=(0,f.default)(this,(t.__proto__||(0,a.default)(t)).call(this,e));return n.onKeyPress=n.onKeyPress.bind(n),n}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentDidMount",value:function(){document.body.addEventListener("keydown",this.onKeyPress)}},{key:"componentWillUnmount",value:function(){document.body.removeEventListener("keydown",this.onKeyPress)}},{key:"submit",value:function(e){e.preventDefault(),(0,v.loadMe)().then(function(){h.browserHistory.push("/")})}},{key:"onKeyPress",value:function(e){e.which===k.ENTER&&this.submit(e)}},{key:"render",value:function(){return p.default.createElement("div",null,p.default.createElement("form",{onSubmit:this.submit,onKeyPress:this.onKeyPress,className:"form-group"},p.default.createElement("p",null,p.default.createElement(b.FormattedHTMLMessage,{id:"mfa.confirm.complete",defaultMessage:"<strong>Set up complete!</strong>"})),p.default.createElement("p",null,p.default.createElement(b.FormattedMessage,{id:"mfa.confirm.secure",defaultMessage:"Your account is now secure. Next time you sign in, you will be asked to enter a code from the Google Authenticator app on your phone."})),p.default.createElement("button",{type:"submit",className:"btn btn-primary"},p.default.createElement(b.FormattedMessage,{id:"mfa.confirm.okay",defaultMessage:"Okay"}))))}}]),t}(p.default.Component);t.default=M,M.defaultProps={},M.propTypes={}}});
//# sourceMappingURL=38.bdf843bbe745802a1c80.js.map