diff --git a/src/components/admin/user/user/InviteUserModal.vue b/src/components/admin/user/user/InviteUserModal.vue index 06f15f1..9ea6d9f 100644 --- a/src/components/admin/user/user/InviteUserModal.vue +++ b/src/components/admin/user/user/InviteUserModal.vue @@ -80,15 +80,13 @@ export default defineComponent({ this.createInvite(createInvite) .then((result) => { this.status = { status: "success" }; + setTimeout(() => { + this.closeModal(); + }, 2000); }) .catch((err) => { this.status = { status: "failed", reason: err.response.data }; }) - .finally(() => { - setTimeout(() => { - this.closeModal(); - }, 2000); - }); }, }, }); diff --git a/src/views/account/LoginData.vue b/src/views/account/LoginData.vue index 6028dad..7ba75bb 100644 --- a/src/views/account/LoginData.vue +++ b/src/views/account/LoginData.vue @@ -10,16 +10,7 @@
totp -
- - -
- -
-
+
@@ -44,13 +35,13 @@ diff --git a/src/views/invite/Verify.vue b/src/views/invite/Verify.vue index da60718..83432da 100644 --- a/src/views/invite/Verify.vue +++ b/src/views/invite/Verify.vue @@ -47,8 +47,6 @@ import { defineComponent } from "vue"; import Spinner from "@/components/Spinner.vue"; import SuccessCheckmark from "@/components/SuccessCheckmark.vue"; import FailureXMark from "@/components/FailureXMark.vue"; -import { RouterLink } from "vue-router"; -import { ClipboardIcon } from "@heroicons/vue/24/outline"; import FormBottomBar from "@/components/FormBottomBar.vue"; import TextCopy from "@/components/TextCopy.vue"; diff --git a/src/views/reset/Reset.vue b/src/views/reset/Reset.vue index b6c0fd1..88491b7 100644 --- a/src/views/reset/Reset.vue +++ b/src/views/reset/Reset.vue @@ -47,7 +47,6 @@ import Spinner from "@/components/Spinner.vue"; import SuccessCheckmark from "@/components/SuccessCheckmark.vue"; import FailureXMark from "@/components/FailureXMark.vue"; import { RouterLink } from "vue-router"; -import { ClipboardIcon } from "@heroicons/vue/24/outline"; import FormBottomBar from "@/components/FormBottomBar.vue"; import TextCopy from "@/components/TextCopy.vue"; diff --git a/src/views/setup/Verify.vue b/src/views/setup/Verify.vue index 804379d..acec089 100644 --- a/src/views/setup/Verify.vue +++ b/src/views/setup/Verify.vue @@ -17,16 +17,7 @@ totp -
- - -
- -
-
+
@@ -57,8 +48,8 @@ import Spinner from "@/components/Spinner.vue"; import SuccessCheckmark from "@/components/SuccessCheckmark.vue"; import FailureXMark from "@/components/FailureXMark.vue"; import { RouterLink } from "vue-router"; -import { ClipboardIcon } from "@heroicons/vue/24/outline"; import FormBottomBar from "@/components/FormBottomBar.vue"; +import TextCopy from "@/components/TextCopy.vue";