mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-16 05:57:48 +01:00
fixed registration bug
This commit is contained in:
parent
93ba6f6011
commit
1465dbbeee
@ -62,7 +62,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
if (result) {
|
||||
registerForm.style.display = 'none';
|
||||
gameContainer.style.display = 'flex';
|
||||
startGame();
|
||||
startWebSocketConnection(token);
|
||||
} else {
|
||||
alert('Registration failed. Please try again.');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user