@tapni/auth 1.0.56 → 1.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,10 +107,10 @@ import VueSelect from "vue3-select-component";
107
107
 
108
108
  export default {
109
109
  name: "AuthGeneral",
110
+ mixins: [AuthMixin],
110
111
  components: {
111
112
  VueSelect
112
113
  },
113
- mixins: [AuthMixin],
114
114
  props: {
115
115
  isModal: {
116
116
  type: Boolean,
@@ -121,7 +121,6 @@ export default {
121
121
  default: {}
122
122
  },
123
123
  },
124
- emits: ['update:viewProp'],
125
124
  data () {
126
125
  return {
127
126
  loading: false,
@@ -147,7 +146,6 @@ export default {
147
146
  methods: {
148
147
  close () {
149
148
  EventBus.$emit('ssoEvent', {name: 'toggleAuthModal', data: true})
150
- this.$emit('update:viewProp', 'AuthAccount')
151
149
  },
152
150
  async submitGeneralUpdate () {
153
151
  this.loading = true;
@@ -158,11 +158,11 @@
158
158
 
159
159
  <div class="ios-switch" style="display: inline-block">
160
160
  <input
161
- :id="'active-open-switch'"
162
- v-model="account.is_active"
163
161
  type="checkbox"
164
162
  name="ios-switch"
165
163
  class="ios-switch-checkbox"
164
+ :id="'active-open-switch'"
165
+ v-model="account.is_active"
166
166
  />
167
167
  <label class="ios-switch-label" :for="'active-open-switch'"></label>
168
168
  </div>
@@ -205,7 +205,6 @@ export default {
205
205
  default: {}
206
206
  },
207
207
  },
208
- emits: ['update:viewProp'],
209
208
  data () {
210
209
  return {
211
210
  accountDelete: false,
@@ -234,8 +233,6 @@ export default {
234
233
  methods: {
235
234
  close () {
236
235
  EventBus.$emit('ssoEvent', {name: 'toggleAuthModal', data: true})
237
- this.$emit('update:viewProp', 'AuthAccount')
238
-
239
236
  },
240
237
  async deleteAccountSubmit() {
241
238
  const result = await this.deleteAccount();
@@ -77,9 +77,9 @@ export default {
77
77
  },
78
78
  methods: {
79
79
  init() {
80
- if (this.isLoggedIn) {
81
- this.$router.push(this.home);
82
- } else {
80
+ // if (this.isLoggedIn) {
81
+ // this.$router.push(this.home);
82
+ // } else {
83
83
  if (this.$storex.verifyEmail) {
84
84
  this.email = this.$storex.verifyEmail;
85
85
  }
@@ -93,7 +93,7 @@ export default {
93
93
  this.code = this.$route.query.c;
94
94
  }
95
95
  EventBus.$emit('ssoEvent', { name: 'setLoading', data: false });
96
- }
96
+ // }
97
97
  },
98
98
  async submit() {
99
99
  // if (this.captcha === '') return this._vm.errorHandler({ message: 'Please select recaptcha' });