-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get password from session if not given when joining room #2121
Get password from session if not given when joining room #2121
Conversation
That is no intended. It should re-ask when you completely finished joining the room. Just not if there happened an error in between the loading of the room and the joining (like there used to be the lobby reload to check if the lobby is still enabled). Otherwise anyone can visit all your public rooms again as long as the session didn't time out (default 1h). |
64a58eb
to
050255d
Compare
Rebased and fixed up, now waiting for hours on drone again... |
050255d
to
2eb38ad
Compare
Ah, OK; I was not sure because public shares do not need to authenticate again.
Oops, I force pushed too :-S Anyway the differences are not important. Edit: OK, I forgot the fixup... done now. |
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2eb38ad
to
bff5d29
Compare
So if we both did the some changes, I expect the tests to pass too => merging |
This pull request was extracted from the lobby pull request, as the change is not needed for the current lobby UI but it should be kept anyway.
As mentioned in the lobby pull request:
Besides that I have added some acceptance tests that check that it is possible to join a password protected room again without having to enter again the password. @nickvergessen I am not sure if that is the expected behaviour (as it is not exactly what you described and it requires an additional change from what you originally did to not remove the password after joining the room), so please check that too; if that is not the expected behaviour the last fixup commit (the one that keeps the password after joining the room) needs to be dropped and the last acceptance tests adjusted to show that it is needed to authenticate again.