diff --git a/frontend/src/App.vue b/frontend/src/App.vue
index db55787..337db54 100644
--- a/frontend/src/App.vue
+++ b/frontend/src/App.vue
@@ -2,7 +2,6 @@
-
@@ -14,7 +13,6 @@ import { onMounted } from 'vue'
import { useAuthStore } from '@/stores/auth'
import StatusMessage from '@/components/StatusMessage.vue'
import LoginView from '@/components/LoginView.vue'
-import RegisterView from '@/components/RegisterView.vue'
import ProfileView from '@/components/ProfileView.vue'
import DeviceLinkView from '@/components/DeviceLinkView.vue'
import ResetView from '@/components/ResetView.vue'
diff --git a/frontend/src/components/LoginView.vue b/frontend/src/components/LoginView.vue
index 487df6c..714ea68 100644
--- a/frontend/src/components/LoginView.vue
+++ b/frontend/src/components/LoginView.vue
@@ -11,11 +11,6 @@
{{ authStore.isLoading ? 'Authenticating...' : 'Login with Your Device' }}
-
-
- Don't have an account? Register here
-
-
diff --git a/frontend/src/components/ProfileView.vue b/frontend/src/components/ProfileView.vue
index 1a7cc57..4c61282 100644
--- a/frontend/src/components/ProfileView.vue
+++ b/frontend/src/components/ProfileView.vue
@@ -81,7 +81,7 @@
import { ref, onMounted, onUnmounted } from 'vue'
import { useAuthStore } from '@/stores/auth'
import { formatDate } from '@/utils/helpers'
-import { registerCredential } from '@/utils/passkey'
+import passkey from '@/utils/passkey'
const authStore = useAuthStore()
const updateInterval = ref(null)
@@ -119,7 +119,7 @@ const addNewCredential = async () => {
try {
authStore.isLoading = true
authStore.showMessage('Adding new passkey...', 'info')
- const result = await registerCredential()
+ await passkey.register()
await authStore.loadUserInfo()
authStore.showMessage('New passkey added successfully!', 'success', 3000)
} catch (error) {
diff --git a/frontend/src/components/RegisterView.vue b/frontend/src/components/RegisterView.vue
deleted file mode 100644
index 87bc9b6..0000000
--- a/frontend/src/components/RegisterView.vue
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
diff --git a/frontend/src/components/ResetView.vue b/frontend/src/components/ResetView.vue
index d2511a0..bc9c7b9 100644
--- a/frontend/src/components/ResetView.vue
+++ b/frontend/src/components/ResetView.vue
@@ -3,6 +3,7 @@
đ Add New Credential
đ¤ {{ authStore.userInfo?.user?.user_name }}
+
Proceed to complete {{authStore.userInfo?.session_type}}: