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

Call SoftLaunchSignIn rather than redirecting to the vc2-sl page. #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seaneshbaugh
Copy link

I noticed that when visiting the index page while logged in I was getting a redirect to /vc2-sl every time. I took a look at the IndexHandler function and thought, what if we just call SoftLaunchSignIn instead of doing a redirect? It seems to work. Only downside I as far as I can tell is the session gets loaded twice but compared to a redirect that seems not so bad.

@gitschwifty
Copy link
Collaborator

I'm not sure this'll work out, because SoftLaunchSignIn only checks the soft launch users table, so if they're signed in but not a soft launch user it'll error I think. definitely need to rework sign in a bit - realized today after helping someone out with an issue that we have too many sign in pages/methods, really should just have one method that checks all the tables in a certain order, and redirects

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.

2 participants