Removing the temporary error message when moving to open id screen

This commit is contained in:
David Négrier
2022-03-22 12:14:23 +01:00
parent e20a8caa26
commit f1549a0ee0
4 changed files with 49 additions and 11 deletions
+4 -1
View File
@@ -28,7 +28,10 @@ export class LoginScene extends ResizableScene {
gameManager.currentStartedRoom &&
gameManager.currentStartedRoom.authenticationMandatory
) {
connectionManager.loadOpenIDScreen();
const redirect = connectionManager.loadOpenIDScreen();
if (redirect !== null) {
window.location.assign(redirect.toString());
}
loginSceneVisibleIframeStore.set(true);
}
loginSceneVisibleStore.set(true);