(globalThis.itsecWebpackJsonP=globalThis.itsecWebpackJsonP||[]).push([[6803],{42604:(e,t,o)=>{"use strict";o.r(t),o.d(t,{initialize:()=>f});var r=o(6293),n=o(3571),i=o(95122),a=o(71930),s=o(52117);const c=(0,s.Z)("div",{target:"e1brlr972"})({name:"ddxhyk",styles:"max-width:800px"}),l=(0,s.Z)(a.X6,{target:"e1brlr971"})({name:"k82dzb",styles:"margin:2rem 0"}),u=(0,s.Z)("div",{target:"e1brlr970"})({name:"o0x664",styles:"padding-bottom:2rem"});function p({twoFactorOnboard:e,user:t}){const o="not-enabled"===t.solid_2fa?(0,i.__)("Enable","better-wp-security"):(0,i.__)("Configure","better-wp-security");return(0,r.createElement)(c,null,(0,r.createElement)(l,{level:3,size:a.yH.LARGE,variant:a.rK.DARK,weight:a.fs.HEAVY,text:(0,i.__)("Two-Factor Authentication","better-wp-security")}),(0,r.createElement)(u,null,(0,r.createElement)("p",null,(0,r.createInterpolateElement)((0,i.__)("Enabling two-factor authentication greatly increases the security of your user account on this site. With two-factor authentication enabled, after you submit your username and password, you will be asked for an additional authentication code to complete your login. <b>Two-factor authentication codes can come from an app that runs on your mobile device, an email that is sent to you after you log in with your username and password, or from a pre-generated list of codes.</b> The button below allows you to configure which of these authentication code providers are enabled for your user.","better-wp-security"),{b:(0,r.createElement)("strong",null)}))),(0,r.createElement)(a.zx,{href:e,variant:"primary",text:o}))}var d=o(2053);function f({twoFactorOnboard:e}){(0,n.registerPlugin)("itsec-two-factor-profile",{render:()=>(0,r.createElement)(d.UserProfileFill,null,(({name:t,userId:o,user:n})=>"itsec-two-factor-profile"===t&&(0,r.createElement)(p,{userId:o,twoFactorOnboard:e,user:n}))),order:3,label:(0,i.__)("Two-Factor Authentication","better-wp-security"),scope:"solid-security-user-profile",isAvailable:(e,t)=>"not-available"!==e.solid_2fa&&null!==e.solid_2fa&&t===e.id})}o.p=window.itsecWebpackPublicPath,(0,i.setLocaleData)({"":{}},"ithemes-security-pro")},2053:e=>{e.exports=function(){return this.itsec.pages.profile}()},64893:e=>{e.exports=function(){return this.wp.components}()},9576:e=>{e.exports=function(){return this.wp.compose}()},82521:e=>{e.exports=function(){return this.wp.date}()},6293:e=>{e.exports=function(){return this.wp.element}()},95122:e=>{e.exports=function(){return this.wp.i18n}()},81019:e=>{e.exports=function(){return this.wp.keycodes}()},3571:e=>{e.exports=function(){return this.wp.plugins}()},14776:e=>{e.exports=function(){return this.wp.primitives}()},73470:e=>{e.exports=function(){return this.wp.url}()},99196:e=>{"use strict";e.exports=window.React}},e=>{e.O(0,[1930],(()=>(42604,e(e.s=42604))));var t=e.O();((window.itsec=window.itsec||{})["two-factor"]=window.itsec["two-factor"]||{}).profile=t}]);