webpackJsonp([35],{1843:function(e,t,a){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=a(6),u=l(n),d=a(4),r=l(d),c=a(5),i=l(c),o=a(7),s=l(o),f=a(8),m=l(f),p=a(54),E=a(2),g=l(E),h=a(1),v=l(h),M=a(18),_=a(44),w=a(1819),N=l(w),b=function(e){function t(){return(0,r.default)(this,t),(0,s.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){"true"===window.mm_license.MFA&&"true"===window.mm_config.EnableMultifactorAuthentication||_.browserHistory.push("/")}},{key:"render",value:function(){var e=void 0;return e="true"===window.mm_config.EnforceMultifactorAuthentication?v.default.createElement("div",{className:"signup-header"},v.default.createElement("a",{href:"#",onClick:function(e){e.preventDefault(),(0,p.emitUserLoggedOutEvent)("/login")}},v.default.createElement("span",{className:"fa fa-chevron-left"}),v.default.createElement(M.FormattedMessage,{id:"web.header.logout",defaultMessage:"Logout"}))):v.default.createElement("div",{className:"signup-header"},v.default.createElement(_.Link,{to:"/"},v.default.createElement("span",{className:"fa fa-chevron-left"}),v.default.createElement(M.FormattedMessage,{id:"web.header.back",defaultMessage:"Back"}))),v.default.createElement("div",{className:"inner-wrap sticky"},v.default.createElement("div",{className:"content"},v.default.createElement("div",null,e,v.default.createElement("div",{className:"col-sm-12"},v.default.createElement("div",{className:"signup-team__container"},v.default.createElement("h3",null,v.default.createElement(M.FormattedMessage,{id:"mfa.setupTitle",defaultMessage:"Multi-factor Authentication Setup"})),v.default.createElement("img",{className:"signup-team-logo",src:N.default}),v.default.createElement("div",{id:"mfa"},v.default.cloneElement(this.props.children,{})))))))}}]),t}(v.default.Component);t.default=b,b.defaultProps={},b.propTypes={location:g.default.object.isRequired,children:g.default.node}}});
//# sourceMappingURL=35.aad286c703c011f5c5e9.js.map