-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Login: Update route to use /me/login
#14144
Conversation
This is to prevent conflicts with `/login`.
I've just fixed the following error that was triggered when starting the server:
|
The code looks good. I'm not convinced that we should move the login code under |
Let me fix SSR :) |
The Login section should be declared before the Me section as otherwise the latter takes precedence.
I've added a commit that fix server-side rendering. This is good for review. |
I just spotted another problem. If you start from http://calypso.localhost:3000/ (which will redirect you to http://calypso.localhost:3000/devdocs/start) or http://calypso.localhost:3000/start and click the |
Let's close it and open another PR with |
This is necessary to prevent conflicts with
/login
, which points to the old login page.Testing
Visit
/
.Click the login button.
Assert that you are taken to
/me/login?redirect_to=…
.Assert that you can log in as before.
Code
Product