Skip to content
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

Fix guest logins #502

Merged
merged 10 commits into from Jun 13, 2018
Merged

Fix guest logins #502

merged 10 commits into from Jun 13, 2018

Conversation

bls1999
Copy link
Collaborator

@bls1999 bls1999 commented Jun 2, 2018

I just reverted the guest login procedure to what it was before I attempted to fix the Kong badges.

Also, I added a line to process_register_login() in the socket server code that checks if the guest is online already. If so, it won't disconnect the guest that's online but it'll disconnect the person logging in. This way, people who know the guest password won't be able to troll others who are just visiting.

Edit: I also added a check for a direct guest account login in login.php.

@jacob-grahn
Copy link
Owner

👍 Looks good, sorry for my slowness

@jacob-grahn jacob-grahn merged commit ac26cbb into jacob-grahn:master Jun 13, 2018
@bls1999 bls1999 deleted the patch-3 branch June 13, 2018 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants