From bd5742d9e51d65de6c2ac9e943e84976fd44e60f Mon Sep 17 00:00:00 2001 From: "Torsten Schulz (local)" Date: Thu, 22 Oct 2026 23:42:22 +0200 Subject: [PATCH] fix(auth): redirect to home after successful OAuth login --- frontend/src/views/auth/OAuthCallbackView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/auth/OAuthCallbackView.vue b/frontend/src/views/auth/OAuthCallbackView.vue index cfdf1f4..f8357fd 100755 --- a/frontend/src/views/auth/OAuthCallbackView.vue +++ b/frontend/src/views/auth/OAuthCallbackView.vue @@ -45,7 +45,7 @@ export default { } const response = await apiClient.post('/api/auth/oauth/exchange', payload); await this.login({ user: response.data, rememberMe: true }); - await this.$router.replace('/settings/personal'); + await this.$router.replace('/'); } catch (loginError) { this.hasError = true; this.errorMessage = loginError?.response?.data?.error || this.$t('home.nologin.oauth.callbackFailure'); @@ -84,4 +84,4 @@ export default { .oauth-callback-error { color: #a94442; } - \ No newline at end of file +