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

fix: #213 redirect correct page when access with path '/' #225

Merged
merged 2 commits into from
Feb 12, 2020

Conversation

dannd4
Copy link
Contributor

@dannd4 dannd4 commented Feb 11, 2020

No description provided.

switch (loginType) {
case 'ADMIN':
return Routes.ADMIN_APPROVALS
case 'DEVELOPER':
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to catch the case where the first login cookie was not present - see getDefaultRouteByLoginType in same file.

Also, needs a test

Copy link
Contributor

@duong-se duong-se left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM

@dannd4 dannd4 force-pushed the fix/213-fix-not-found-page branch from 5bd507c to 0190436 Compare February 11, 2020 09:12
Copy link
Contributor

@willmcvay willmcvay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good to go 👍

@dannd4 dannd4 force-pushed the fix/213-fix-not-found-page branch from 0190436 to 59f7b57 Compare February 12, 2020 05:02
@github-actions github-actions bot requested a review from willmcvay February 12, 2020 05:02
@dannd4 dannd4 merged commit e9b46f4 into master Feb 12, 2020
@dannd4 dannd4 deleted the fix/213-fix-not-found-page branch February 12, 2020 07:14
nphivu414 pushed a commit that referenced this pull request Apr 29, 2020
* [CLD-588] view authentication flow in app detail

* [CLD-588] Fix comments

* [CLD-588] Fix comments and upgrade elements
nphivu414 pushed a commit that referenced this pull request Apr 29, 2020
nphivu414 pushed a commit that referenced this pull request Apr 29, 2020
* fix: #213 redirect correct page when access with path '/'

* fix: #213 catch case first login cookie and add test case
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
marketplace Relates to the Marketplace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants