fix(login): remove the redirect to CREATE_IDENTITY in Navbar

This redirect is triggered when identities changes during the login process and interrupt it. Identity redirect is already checked inside the login process.

Related to #1806
This commit is contained in:
Massedil
2025-06-28 18:35:47 +02:00
parent 7f849d116b
commit 992d00f067
2 changed files with 0 additions and 20 deletions

View File

@@ -229,11 +229,6 @@ const loginAction = async (e: Event) => {
const loggedUserLocationPromise = loggedUserLocationQuery.load();
// Step 3b: Setuping user's identities
// FIXME this promise never resolved the first time
// no idea why !
// this appends even with the last version of apollo-composable (4.0.2)
// may be related to that : https://github.com/vuejs/apollo/issues/1543
// EDIT: now it works :shrug:
const currentUserIdentitiesResult = await currentUserIdentitiesQuery.load();
if (!currentUserIdentitiesResult) {
throw new Error("Loading user's identities failed");