-
Notifications
You must be signed in to change notification settings - Fork 22
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
Conversation
switch (loginType) { | ||
case 'ADMIN': | ||
return Routes.ADMIN_APPROVALS | ||
case 'DEVELOPER': |
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.
You need to catch the case where the first login cookie was not present - see getDefaultRouteByLoginType in same file.
Also, needs a test
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.
LTGM
5bd507c
to
0190436
Compare
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.
Thanks, good to go 👍
0190436
to
59f7b57
Compare
* [CLD-588] view authentication flow in app detail * [CLD-588] Fix comments * [CLD-588] Fix comments and upgrade elements
No description provided.