fix(auth): redirect to home after successful OAuth login
Some checks failed
Deploy to production / deploy (push) Has been cancelled

This commit is contained in:
Torsten Schulz (local)
2026-10-22 23:42:22 +02:00
parent 73570426ca
commit bd5742d9e5

View File

@@ -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');