Closed tpreusse closed 7 years ago
The ideal solution would be to have an HOC around every page which shows an login or unauthorized screen unless a me with the right role is present. The client side replaceRoute in the index page is just a temporary solution.
replaceRoute
The ideal solution would be to have an HOC around every page which shows an login or unauthorized screen unless a me with the right role is present. The client side
replaceRoute
in the index page is just a temporary solution.