se: function () {
            twoFactorModal.enteredCode = "";
            twoFactorModal.visible = false;
        },
    };

    const twoFactorModalApp = new Vue({
        delimiters: ['[[', ']]'],
        el: '#two-factor-modal',
        data: {
            twoFactorModal: twoFactorModal,
        },
        updated() {
          if (
            this.twoFactorModal.visible &&
            this.twoFactorModal.type === 'set' &&
            document.getElementById('twofactor-qrcode')
          ) {
          