@tapni/auth 0.0.146 → 0.0.150

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapni/auth",
3
- "version": "0.0.146",
3
+ "version": "0.0.150",
4
4
  "type": "module",
5
5
  "main": "./dist/TapniAuth.umd.js",
6
6
  "module": "./dist/TapniAuth.es.js",
@@ -27,7 +27,7 @@ export default {
27
27
  }
28
28
  },
29
29
  async mounted () {
30
- if (this.$route.name === 'AuthMFA') {
30
+ if (this.renderView === 'AuthMFA') {
31
31
  await this.getAccountSettings();
32
32
  this.generateOTPQrCode();
33
33
  }
package/src/store/auth.js CHANGED
@@ -238,6 +238,7 @@ export default {
238
238
  {
239
239
  id: response.data.data.id,
240
240
  username: response.data.data.username,
241
+ name: response.data.data.name,
241
242
  refreshToken: response.data.refreshToken,
242
243
  photo: response.data.data.photo,
243
244
  },
@@ -328,6 +329,7 @@ export default {
328
329
  {
329
330
  id: response.data.data.id,
330
331
  username: response.data.data.username,
332
+ name: response.data.data.name,
331
333
  refreshToken: response.data.refreshToken,
332
334
  photo: response.data.data.photo,
333
335
  },
package/src/views/MFA.vue CHANGED
@@ -1,5 +1,10 @@
1
1
  <template>
2
2
  <div class="page-login content-boxed content-boxed-padding">
3
+ <a v-if="isModal" @click="close" class="color-black pull-right pointer" style="margin-top: 0px; position: absolute; right: -20px; text-align: right;">
4
+ <i class="font-17 color-black">
5
+ <img src="https://cdn.tapni.co/icons/down-arrow.png" class="responsive-image" style="width: 35%;"/>
6
+ </i>
7
+ </a>
3
8
  <h4 style="text-align: center; width: 80%; margin: 0 auto; margin-top: 50px;">
4
9
  2-Step Verification
5
10
  </h4>