-
Notifications
You must be signed in to change notification settings - Fork 29
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
refactor(sign-in): redirect to intended page after signing in #990
Conversation
await userStore.completeSignIn() | ||
|
||
const returnTo = params.get('returnTo') | ||
window.location.replace(returnTo != null ? decodeURIComponent(returnTo) : '/') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
params.get
应该已经做过一次 decodeURIComponent
了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes goplus#985 Fixes goplus#986 Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
This PR has been deployed to the preview environment. You can explore it using the preview URL. Warning Please note that deployments in the preview environment are temporary and will be automatically cleaned up after a certain period. Make sure to explore it before it is removed. For any questions, contact the Go+ Builder team. |
Fixes #985
Fixes #986