Skip to content
Snippets Groups Projects
Verified Commit be4f96dc authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Change login redirect path.

parent 95f44dae
No related branches found
No related tags found
2 merge requests!56Refined auth flow and new website pages.,!43Move back cookie fetch to SignInForm. Role fetched and saved into a Context. Small refactorings.
......@@ -57,7 +57,7 @@ export const PrivateRoute = ({
<Redirect
to={{
pathname: userHasRequiredRole
? `auth/${NonAuthRoutes.signIn}`
? `${NonAuthRoutes.auth}${NonAuthRoutes.signIn}`
: NonAuthRoutes.unauthorized,
state: {
message,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment