diff --git a/apps/frontend/src/components/ui/auth/CreateAccount.vue b/apps/frontend/src/components/ui/auth/CreateAccount.vue
index e88eae980f..55b8ab1948 100644
--- a/apps/frontend/src/components/ui/auth/CreateAccount.vue
+++ b/apps/frontend/src/components/ui/auth/CreateAccount.vue
@@ -2,7 +2,7 @@
{{ formatMessage(messages.title) }}
-
+
@@ -98,6 +98,10 @@ const props = defineProps({
type: Object,
default: null,
},
+ requiresDob: {
+ type: Boolean,
+ default: true,
+ },
sourceCodeUrl: {
type: String,
default: 'https://github.com/modrinth/labrinth/blob/main/apps/labrinth/src/routes/internal/flows.rs',
diff --git a/apps/frontend/src/composables/auth.ts b/apps/frontend/src/composables/auth.ts
index 4608995779..1b8588cdae 100644
--- a/apps/frontend/src/composables/auth.ts
+++ b/apps/frontend/src/composables/auth.ts
@@ -58,20 +58,10 @@ export const initAuth = async (oldToken: string | null | undefined = null) => {
authCookie.value = oldToken
}
- if (authCode && !route.fullPath.includes('new_account=true')) {
+ if (authCode) {
authCookie.value = authCode
}
- if (route.fullPath.includes('new_account=true') && route.path !== '/auth/welcome') {
- const redirect = route.path.startsWith('/auth/') ? null : route.fullPath
-
- await navigateTo(
- `/auth/welcome?authToken=${authCode ?? ''}${
- redirect ? `&redirect=${encodeURIComponent(redirect)}` : ''
- }`,
- )
- }
-
if (authCookie.value) {
auth.token = authCookie.value
diff --git a/apps/frontend/src/pages/auth/create/oauth.vue b/apps/frontend/src/pages/auth/create/oauth.vue
new file mode 100644
index 0000000000..da0b1ef373
--- /dev/null
+++ b/apps/frontend/src/pages/auth/create/oauth.vue
@@ -0,0 +1,156 @@
+
+
+
+
+
+
+
+
diff --git a/apps/frontend/src/pages/auth/sign-in.vue b/apps/frontend/src/pages/auth/sign-in.vue
index 2a34b5d065..30ec6a0d13 100644
--- a/apps/frontend/src/pages/auth/sign-in.vue
+++ b/apps/frontend/src/pages/auth/sign-in.vue
@@ -1,20 +1,18 @@
-
-
-
+