-
Notifications
You must be signed in to change notification settings - Fork 336
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
Render Not Found Page on Invalid Path #266
Conversation
* Add mailhog as dependency * Fix auth validation (#250)
Test Results83 tests 83 ✅ 1s ⏱️ Results for commit ec0a136. ♻️ This comment has been updated with latest results. |
☂️ Python Coverage
Overall Coverage
New FilesNo new covered files... Modified FilesNo covered modified files...
|
@@ -75,7 +76,10 @@ const AfterLogin = ({ | |||
}); | |||
} else { | |||
if (!componentRole || (componentRole && componentRole === userRole)) | |||
return <Component {...props} />; | |||
return <> |
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.
No need to make any changes to the UI side. Just the nginx i.e. the api call is where we should return 404.
Fixed in #269 |
No description provided.