@tapni/auth 0.0.147 → 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.147",
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/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>