This PR updates the redirect behavior of the RAS-ACC account button so that readers remain on the same page they triggered the signin modal when logging in or creating an account:
How to test the changes in this Pull Request:
As a non-logged in reader, navigate to any post
Click the sign in button as pictured above to trigger the auth modal
Create a new account
On epic/ras-acc, you will be redirected to they My Account page. On this branch you will remain on the current page.
Click the my account button (which should have replaced the sign in button pictured above)
Confirm you are redirected to the my account page now.
Log out and repeat the above steps, this time signing into the existing account rather than creating a new one.
Repeat the above steps triggering from various other parts of the site (i.e. Page, Archive, Homepage, etc.)
Other information:
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes, as applicable?
[ ] Have you successfully ran tests with your changes locally?
All Submissions:
Changes proposed in this Pull Request:
Closes https://app.asana.com/0/1207385073694413/1207579795350578/f
This PR updates the redirect behavior of the RAS-ACC account button so that readers remain on the same page they triggered the signin modal when logging in or creating an account:
How to test the changes in this Pull Request:
epic/ras-acc
, you will be redirected to they My Account page. On this branch you will remain on the current page.Other information: