The Wayback Machine - https://web.archive.org/web/20200907170859/https://github.com/HermesMessenger/Hermes/issues/99
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

Users going to the joinchannel link should be prompted to log in if they haven't already #99

Open
ThePerkinrex opened this issue Apr 11, 2019 · 2 comments

Comments

@ThePerkinrex
Copy link
Contributor

@ThePerkinrex ThePerkinrex commented Apr 11, 2019

These users should be taken to the login page and so they're able to then go to the joinchannel link automatically

@ThePerkinrex
Copy link
Contributor Author

@ThePerkinrex ThePerkinrex commented May 3, 2019

A cookie can be setup to manage this:
hermes_join_channel=1d1bca10-6d81-11e9-8dc5-2d971623e808
so if the login page sees this, it redirects it to the joinchannel link

@spaceface777
Copy link
Contributor

@spaceface777 spaceface777 commented May 4, 2019

Or even easier: set the hermes_channel cookie (we already use it) to the channel to be joined, and after logging in if the client detects that the user isn't in that channel it should join it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.