Missing error handling causes an exception when an already logged user uses a wrong code to access the application. When this happens, the system shows the correct error page, but the client tries to establish a websocket connection anyway.
To avoid logging this exception, the code in /panels/user/init.py#L363 should be complete.
The client should not try to create a new websocket connection in this case. This should be fixed too.
Missing error handling causes an exception when an already logged user uses a wrong code to access the application. When this happens, the system shows the correct error page, but the client tries to establish a websocket connection anyway.
To avoid logging this exception, the code in /panels/user/init.py#L363 should be complete.
The client should not try to create a new websocket connection in this case. This should be fixed too.