Fix local user useless

Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
Gregoire Parant 2021-10-14 17:25:36 +02:00
parent f87422187f
commit b7692dd355

View File

@ -293,11 +293,6 @@ class ConnectionManager {
params: { code, nonce, token, playUri }, params: { code, nonce, token, playUri },
}).then((res) => res.data); }).then((res) => res.data);
localUserStore.setAuthToken(authToken); localUserStore.setAuthToken(authToken);
const localUser: LocalUser = {
uuid: userUuid,
textures: textures,
email: emails,
};
this.localUser = new LocalUser(userUuid, textures, emails); this.localUser = new LocalUser(userUuid, textures, emails);
localUserStore.saveUser(this.localUser); localUserStore.saveUser(this.localUser);
this.authToken = authToken; this.authToken = authToken;