fix(AccountView): update OAuth user ID retrieval to use user ID instead of hashed ID

This commit is contained in:
Torsten Schulz (local)
2026-05-15 14:43:27 +02:00
parent 71e53d2ffc
commit 074e01bdb7

View File

@@ -196,7 +196,7 @@ export default {
return; return;
} }
this.oauthLoading = true; this.oauthLoading = true;
const uid = this.user?.hashedId || ''; const uid = this.user?.id || '';
window.location.href = `/api/auth/oauth/user/${encodeURIComponent(providerSlug)}/start?userid=${encodeURIComponent(uid)}`; window.location.href = `/api/auth/oauth/user/${encodeURIComponent(providerSlug)}/start?userid=${encodeURIComponent(uid)}`;
}, },
async removeOAuthIdentity(identityId) { async removeOAuthIdentity(identityId) {