PageSourceSearch

https://www.cobasam.com/private/js/UpdateTwoFactorAuth.9ba5882ac6b53592.js

js cobasam.com collected 2026-09-24 19:48:45 UTC 1,951 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkcobas_private_area"]=self["webpackChunkcobas_private_area"]||[]).push([[9193],{24488:function(t,e,a){a.r(e),a.d(e,{default:function(){return d}});var o=function(){var t=this,e=t._self._c;return e("b-modal",{attrs:{"button-size":"sm",centered:"","hide-footer":"","no-close-on-backdrop":"","no-close-on-esc":"","no-stacking":"",size:"lg"},scopedSlots:t._u([{key:"modal-header",fn:function({}){return[e("h5",[e("b",[t._v("Doble factor de autenticación")])])]}}]),model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[e("div",{staticClass:"mb-3 text-center"},[e("div",[t._v("Por su seguridad puede activar el acceso con doble factor de autenticación (recibirá un código a su email cuando haga login)")]),e("div",{staticClass:"font-weight-light text-black-50 text-advice"},[t._v("(Podrá desactivarlo cuándo quiera desde las opciones de 'Mi perfil')")])]),e("b-col",{staticClass:"text-right",attrs:{cols:"12",md:"12",lg:"12"}},[e("YuriButton",{staticClass:"justify-content-center",attrs:{solid:!0,text:"Activar",type:"success"},nativeOn:{click:function(e){return t.activeTwoFactorAuth()}}}),e("YuriButton",{staticClass:"ml-3 justify-content-center",attrs:{solid:!1,text:"Cancelar"},nativeOn:{click:function(e){return t.cancelTwoFactorAuth()}}})],1)],1)},c=[],s=a(72237),n=a(2140),i={name:"UpdateTwoFactorAuth",data(){return{show:!0}},mounted(){},methods:{activeTwoFactorAuth(){this.updateTwoFactorAuth(!0)},cancelTwoFactorAuth(){this.updateTwoFactorAuth(!1)},async updateTwoFactorAuth(t){const e={has_enable_two_factor_auth:t},a=n["default"].getIntervenerFromLocalStore();await s.A.updateIntervenerData({},e,a.uuid),this.$bvToast.toast("Datos actualizados correctamente",{title:"Actualizado",autoHideDelay:2e3,variant:"success"}),this.$router.push({name:"Position"})}}},r=i,u=a(81656),l=(0,u.A)(r,o,c,!1,null,null,null),d=l.exports}}]);
2//# sourceMappingURL=UpdateTwoFactorAuth.9ba5882ac6b53592.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.