Unify unauthorized redirect to onboarding in Staff
cgen-9d92642467654f27819cc33a6a8119f3
This commit is contained in:
parent
0777188c1a
commit
74c9b7bc39
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ export default function Staff() {
|
|||
title: "Sign in required",
|
||||
description: "Staff area requires authentication",
|
||||
});
|
||||
navigate("/login");
|
||||
navigate("/onboarding");
|
||||
return;
|
||||
}
|
||||
if (!hasAccess) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue