diff --git a/frontend/package.json b/frontend/package.json index 1bc493c..ce6a47b 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "pinia": "^2.1.0", + "qrcode": "^1.5.4", "vue": "^3.4.0", "vue-router": "^4.3.0" }, diff --git a/frontend/src/components/auth/TotpEnrollment.vue b/frontend/src/components/auth/TotpEnrollment.vue index d7bfa72..8753305 100644 --- a/frontend/src/components/auth/TotpEnrollment.vue +++ b/frontend/src/components/auth/TotpEnrollment.vue @@ -28,17 +28,10 @@ Open your authenticator app and scan this QR code, or enter the key manually.

- +
-

Scan with your authenticator app using the link below, or enter the secret key manually:

- - Open in authenticator app - +

Scan this QR code with your authenticator app:

+ TOTP QR code
@@ -115,6 +108,7 @@ diff --git a/frontend/src/views/SettingsView.vue b/frontend/src/views/SettingsView.vue index 708082c..ec1bd19 100644 --- a/frontend/src/views/SettingsView.vue +++ b/frontend/src/views/SettingsView.vue @@ -48,6 +48,9 @@ + + +
@@ -86,6 +89,7 @@ import { useRouter } from 'vue-router' import SettingsPreferencesTab from '../components/settings/SettingsPreferencesTab.vue' import SettingsAiTab from '../components/settings/SettingsAiTab.vue' import SettingsCloudTab from '../components/settings/SettingsCloudTab.vue' +import SettingsAccountTab from '../components/settings/SettingsAccountTab.vue' const router = useRouter() @@ -93,6 +97,7 @@ const tabs = [ { id: 'preferences', label: 'Preferences' }, { id: 'ai', label: 'AI Configuration' }, { id: 'cloud', label: 'Cloud Storage' }, + { id: 'account', label: 'Account' }, ] const activeTab = ref('preferences')