OpenMF icon indicating copy to clipboard operation
OpenMF copied to clipboard

[Frontend] Implemented Private Route

Open amlannandy opened this issue 3 years ago • 0 comments

Description

Created a custom private route that can be used in place of the stock route component while routing. Pages created using this route can only be accessed by an authenticated user, else you'll be redirected to Login.

Fixes #118

Type of change

  • [x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Try going to a private route without authentication

Test Configuration:

  • Google Chrome
  • Windows 10

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes
  • [ ] Any dependent changes have been merged and published in downstream modules

amlannandy avatar Feb 27 '21 05:02 amlannandy