PageSourceSearch

https://cdn.taxesforexpats.com/packs/static/assets/login-mfa-sms-DFjTTCtQ.js

js taxesforexpats.com collected 2026-10-02 07:10:17 UTC 2,908 bytes, 1 lines download raw bytes

1import{d as p,f as l,g as s,o as n,w as d,k as o,E as h,h as u,q as i,t as c,p as v,dR as y,H as g}from"./static-DxAyi4nM.js";import{f as w}from"./form-DOePXhMd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"f2e4a1bbe54c60f1e44c62c0acae234bdcda245c"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7136138c-a016-406e-8807-a8824345e9bb",e._sentryDebugIdIdentifier="sentry-dbid-7136138c-a016-406e-8807-a8824345e9bb")})()}catch{}const S={name:"login-mfa-sms",mixins:[w],props:{phone:{type:Object,default:null},rememberDays:{type:Number,default:90}},data:function(){return{code:null,showLoader:!1,error:null}},methods:{onSubmit(){this.willvalidate(this.$refs.mfaForm)&&(this.showLoader=!0,g.patch("/mfa_verification",new FormData(this.$refs.mfaForm)).then(()=>{this.error=null},e=>{this.error=e.body.error}).finally(()=>{this.showLoader=!1}))}}},k=["value"],D=o("div",{class:"login-page__title"}," Two-factor authentication ",-1),T={class:"font-size-14"},x=o("p",{class:"font-size-14 tw-mb-[5px]"}," Code from SMS ",-1),E={key:0,class:"form-control-feedback error"},M={class:"additionals-between"},I={class:"tw-mb-[10px]"},L=o("input",{id:"browser_remember_me",name:"remember_browser",type:"checkbox",class:"login-page__form-checkbox",value:"1"},null,-1),N={class:"text",for:"browser_remember_me"},C=o("div",{class:"login-page__buttons login"},[o("input",{type:"submit",class:"button button__email",value:"Confirm"})],-1),F={class:"text-align-center tw-mt-5"},R={class:"link btn"},V=o("br",null,null,-1);function z(e,t,a,B,q,f){const m=l("only-latin"),_=l("willvalidate"),b=l("modal-dialog");return n(),s("div",null,[d((n(),s("form",{ref:"mfaForm",class:u([{loader:e.showLoader},"login-page__form"]),onSubmit:t[1]||(t[1]=h((...r)=>f.onSubmit&&f.onSubmit(...r),["prevent"])),"data-hs-do-not-collect":!0},[o("input",{type:"hidden",name:"phone_id",value:a.phone.id},null,8,k),D,o("p",T,[i(" We sent a secure code to your verified number "),o("b",null,c(a.phone.number),1),i(" – please enter the code below. ")]),o("div",{class:u({validate:!0,"server-error":!!e.error})},[x,d(o("input",{class:"login-form__input input","onUpdate:modelValue":t[0]||(t[0]=r=>e.code=r),id:"code_input",name:"verification_pin",label:"SMS code",type:"text",required:""},null,512),[[y,e.code],[m]]),e.error?(n(),s("span",E,c(e.error),1)):v("",!0)],2),o("div",M,[o("div",I,[L,o("label",N," Remember this device for "+c(a.rememberDays)+" days ",1)])]),C],34)),[[_]]),o("div",F,[d((n(),s("span",R,[i(" SMS not working?"),V,i(" Please contact support. ")])),[[b,"/mfa_support",void 0,{post:!0}]])])])}const A=p(S,[["render",z]]);export{A as default};

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.