-
+
+
Mailx FAQ
Last updated: 20 June 2025
@@ -87,7 +87,11 @@
\ No newline at end of file
diff --git a/app/src/components/Login.vue b/app/src/components/Login.vue
index 3cda34a2..5ae1d2ac 100644
--- a/app/src/components/Login.vue
+++ b/app/src/components/Login.vue
@@ -64,7 +64,7 @@
>
Required
-
+
@@ -144,6 +144,16 @@ const error = ref('')
const isLoading = ref(false)
const passkeySupported = ref(false)
const signupSuccess = ref('')
+const route = useRoute()
+
+const redirectAfterLogin = () => {
+ const redirect = route.query.redirect as string
+ if (redirect && redirect.startsWith('/account')) {
+ window.location.href = redirect
+ } else {
+ window.location.href = '/account'
+ }
+}
const validateEmail = () => {
emailError.value = !email.value
@@ -189,7 +199,7 @@ const login = async () => {
if (response.status === 200) {
// Redirect to the dashboard
localStorage.setItem('email', data.email)
- window.location.href = '/'
+ redirectAfterLogin()
}
} catch (err) {
if (axios.isAxiosError(err)) {
@@ -242,7 +252,7 @@ const startAuth = async (data: any, res: any) => {
if (res.status === 200) {
// Redirect to the dashboard
localStorage.setItem('email', data.email)
- window.location.href = '/'
+ redirectAfterLogin()
}
} catch (err: Error) {
if (axios.isAxiosError(err)) {
@@ -270,13 +280,12 @@ const onTabChange = () => {
onMounted(() => {
if (isLoggedIn()) {
- window.location.href = '/'
+ window.location.href = '/account'
}
passkeySupported.value = browserSupportsWebAuthn()
tabs.autoInit()
- const route = useRoute()
if (route.path.includes('signup-complete')) {
signupSuccess.value = 'Account created successfully. Please log in.'
}
diff --git a/app/src/components/Logout.vue b/app/src/components/Logout.vue
new file mode 100644
index 00000000..9a7892f0
--- /dev/null
+++ b/app/src/components/Logout.vue
@@ -0,0 +1,15 @@
+
+
+
+
+
diff --git a/app/src/components/MobileHeader.vue b/app/src/components/MobileHeader.vue
index 600fe186..a87a3236 100644
--- a/app/src/components/MobileHeader.vue
+++ b/app/src/components/MobileHeader.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/app/src/components/NotFound.vue b/app/src/components/NotFound.vue
index afe074b7..f53e5186 100644
--- a/app/src/components/NotFound.vue
+++ b/app/src/components/NotFound.vue
@@ -5,7 +5,7 @@
404
Page not found
-
+
Go to Aliases
diff --git a/app/src/components/Privacy.vue b/app/src/components/Privacy.vue
index 0cfe28b4..078407b7 100644
--- a/app/src/components/Privacy.vue
+++ b/app/src/components/Privacy.vue
@@ -1,10 +1,10 @@
-
+
+
Privacy Policy
Last updated: 21 Nov 2025
@@ -68,7 +68,11 @@