Created a chaining middleware logic stackMiddlewares to handle more than one middleware simultaneously, withAuthentication middleware contains the logic to redirect authenticated users to explorer page on page mount.
Authenticated users cannot access the home page thereby remaining in the current page they are trying to access the homepage from.
PR Description
Created a chaining middleware logic
stackMiddlewares
to handle more than one middleware simultaneously,withAuthentication
middleware contains the logic to redirect authenticated users to explorer page on page mount.Authenticated users cannot access the home page thereby remaining in the current page they are trying to access the homepage from.