PageSourceSearch

https://cloud.securmeet.com/js/308.d010fb7c.js

js securmeet.com collected 2026-10-01 15:41:18 UTC 6,376 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunksecurmeetclient"]=self["webpackChunksecurmeetclient"]||[]).push([[308],{5758:function(e,t,a){a.d(t,{A:function(){return u}});a(4114),a(8111),a(7588);var s=a(641),r=a(6278),o=a(2171);const c=["src","alt"];var l=Object.assign({inheritAttrs:!1},{__name:"Logo",props:{variant:{type:String,default:"header"},alt:{type:String,default:""}},setup(e){const t=e,a=(0,s.OA)(),l=(0,s.EW)((()=>{const{class:e,...t}=a;return t})),i=(0,s.EW)((()=>{const e=["logo"];"footer"!==t.variant&&e.push("py-20");const s=a.class;return s?Array.isArray(s)?(e.push(...s),e):"object"===typeof s?(Object.entries(s).forEach((([t,a])=>{a&&e.push(t)})),e):(e.push(s),e):e})),n=(0,r.Pj)(),u=(0,s.EW)((()=>n.state.user.theme)),d=(0,s.EW)((()=>(0,o.a8)(t.variant,u.value))),p=(0,s.EW)((()=>t.alt?t.alt:`${(0,o.JH)()} logo`));return(e,t)=>((0,s.uX)(),(0,s.CE)("img",(0,s.v6)(l.value,{src:d.value,alt:p.value,class:i.value}),null,16,c))}}),i=a(6262);const n=(0,i.A)(l,[["__scopeId","data-v-f6251aae"]]);var u=n},8308:function(e,t,a){a.r(t),a.d(t,{default:function(){return I}});var s=a(641),r=a(953),o=a(33),c=a(6278),l=a(5220),i=a(8625),n=a(5758),u=a(2350),d=a(2245);const p={class:"grow center wrap"},v={class:"container center col white"},f={class:"d-flex justify-start mb-15"},h={class:"missingText red--text"},g={key:0,class:"text-center"},y={class:"col gap-20 mt-20"},k={key:0,class:"col gap-10"},m={class:"center mt-20"},w=["src"],b={key:1,class:"center pa-40"},_={class:"row justify-center"},L={key:1,class:"col gap-10"},C={class:"center mt-20 red--text font-14"},F={class:"row center pb-20 black--text"},x={class:"row justify-center"},A={key:2,class:"col gap-10"},E={class:"row border center w100 pa-20 mt-20"},W={class:"weight-600 font-24 letter-spacing"},S={class:"row justify-center"};var R={__name:"2FASetup",setup(e){const t=(0,c.Pj)(),a=((0,l.rd)(),(0,r.KR)(1)),R=(0,r.KR)(""),j=(0,r.KR)(""),X=(0,r.KR)(""),P=(0,r.KR)(""),K=e=>{X.value=e},O=async()=>{if(6===X.value.length)try{const e=await t.dispatch("user/finish2fa",X.value);if(!e?.recoveryCode)return void(R.value="Invalid code. Please try again.");let s="string"===typeof e.recoveryCode?JSON.parse(e.recoveryCode):e.recoveryCode;P.value=s.at(0),a.value=3}catch(e){R.value="Setup failed. Please try again.",console.error("2FA setup error:",e)}else R.value="Please enter a 6-digit code"},Q=async()=>{try{await t.dispatch("user/getUserInformation"),(0,i.V)("/")}catch(e){console.error("Error completing 2FA setup:",e),R.value="Setup completed but there was an issue refreshing your account. Please log out and log back in to continue.",setTimeout((()=>{confirm("Would you like to log out and log back in to complete the setup?")&&t.dispatch("user/logout")}),2e3)}},I=async()=>{await t.dispatch("user/logout"),(0,i.V)("/login")},z=async()=>{try{const e=await t.dispatch("user/enable2fa");if("ok"!==e?.status)return void(R.value="Failed to initialize 2FA setup. Please try again.");j.value=e.data}catch(e){R.value="Failed to initialize 2FA setup. Please try again.",console.error("2FA initialization error:",e)}};return(0,s.sV)((()=>{z()})),(e,t)=>{const c=(0,s.g2)("s-icon"),l=(0,s.g2)("s-btn");return(0,s.uX)(),(0,s.CE)("div",p,[(0,s.Lk)("div",v,[(0,s.Lk)("div",f,[(0,s.bF)(l,{class:"outline",onClick:I},{default:(0,s.k6)((()=>[(0,s.bF)(c,{class:"mr-5"},{default:(0,s.k6)((()=>t[1]||(t[1]=[(0,s.eW)("arrow_back")]))),_:1,__:[1]}),t[2]||(t[2]=(0,s.Lk)("span",null,"Back to Login",-1))])),_:1,__:[2]})]),(0,s.bF)((0,r.R1)(n.A)),(0,s.Lk)("div",h,[R.value?((0,s.uX)(),(0,s.CE)("div",g,(0,o.v_)(R.value),1)):(0,s.Q3)("",!0)]),(0,s.Lk)("div",y,[t[9]||(t[9]=(0,s.Lk)("div",{class:"text-center"},[(0,s.Lk)("h2",{class:"font-24 weight-600 mb-10"},"Two-Factor Authentication Required"),(0,s.Lk)("p",{class:"grey--text font-16"},"For security reasons, you must set up two-factor authentication before accessing your account.")],-1)),1===a.value?((0,s.uX)(),(0,s.CE)("div",k,[t[4]||(t[4]=(0,s.Lk)("div",{class:"text-center"},[(0,s.Lk)("span",{class:"font-16 weight-500"},"Scan this QR code with your authenticator app"),(0,s.Lk)("span",{class:"weight-300 font-14 grey--text"},[(0,s.eW)(" We recommend using "),(0,s.Lk)("span",{class:"weight-600"},"Google Authenticator"),(0,s.eW)(" or similar apps ")])],-1)),(0,s.Lk)("div",m,[j.value?((0,s.uX)(),(0,s.CE)("img",{key:0,src:j.value,alt:"2FA QR Code",class:"qr-image"},null,8,w)):((0,s.uX)(),(0,s.CE)("div",b,[(0,s.bF)((0,r.R1)(u.O8),{size:"40",color:"#1976d2"})]))]),(0,s.Lk)("div",_,[(0,s.bF)(l,{class:"primary white--text",onClick:t[0]||(t[0]=e=>a.value=2),disabled:!j.value},{default:(0,s.k6)((()=>t[3]||(t[3]=[(0,s.eW)(" Next Step ")]))),_:1,__:[3]},8,["disabled"])])])):(0,s.Q3)("",!0),2===a.value?((0,s.uX)(),(0,s.CE)("div",L,[t[6]||(t[6]=(0,s.Lk)("div",{class:"text-center"},[(0,s.Lk)("span",{class:"font-16 weight-500"},"Enter the 6-digit code from your authenticator app"),(0,s.Lk)("span",{class:"weight-300 font-14 grey--text"}," This verifies that you've set up 2FA correctly ")],-1)),(0,s.Lk)("div",C,(0,o.v_)(R.value),1),(0,s.Lk)("div",F,[(0,s.bF)((0,r.R1)(d.A),{ref:"otpInput","input-classes":"otp-input black--text",separator:"-","num-inputs":6,"should-auto-focus":!0,"input-type":"number",conditionalClass:["one","two","three","four","five","six"],placeholder:["*","*","*","*","*","*"],onOnComplete:K},null,512)]),(0,s.Lk)("div",x,[(0,s.bF)(l,{class:"primary white--text",onClick:O,disabled:6!==X.value.length},{default:(0,s.k6)((()=>t[5]||(t[5]=[(0,s.eW)(" Verify & Complete Setup ")]))),_:1,__:[5]},8,["disabled"])])])):(0,s.Q3)("",!0),3===a.value?((0,s.uX)(),(0,s.CE)("div",A,[t[8]||(t[8]=(0,s.Lk)("div",{class:"text-center"},[(0,s.Lk)("span",{class:"font-16 weight-500"},"Save your recovery code"),(0,s.Lk)("span",{class:"weight-300 font-14 grey--text"}," Keep this code safe! You'll need it if you lose access to your authenticator app. ")],-1)),(0,s.Lk)("div",E,[(0,s.Lk)("span",W,(0,o.v_)(P.value),1)]),(0,s.Lk)("div",S,[(0,s.bF)(l,{class:"primary white--text",onClick:Q},{default:(0,s.k6)((()=>t[7]||(t[7]=[(0,s.eW)(" Complete Setup ")]))),_:1,__:[7]})])])):(0,s.Q3)("",!0)])])])}}},j=a(6262);const X=(0,j.A)(R,[["__scopeId","data-v-19a6875f"]]);var P=X;const K={class:"h100 vh100 d-flex d-col"};var O={__name:"Setup2FA",setup(e){return(e,t)=>((0,s.uX)(),(0,s.CE)("div",K,[(0,s.bF)(P)]))}};const Q=O;var I=Q}}]);
2//# sourceMappingURL=308.d010fb7c.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.