kc token public key/token issue, path root set to 1
This commit is contained in:
@@ -6,7 +6,6 @@ const PermissionGuard = ({rolesRequired, children}) => {
|
||||
const hasPermission = rolesRequired.some((role) => roles.includes(role));
|
||||
|
||||
if (!hasPermission) {
|
||||
console.log("F");
|
||||
return null;
|
||||
}
|
||||
return children;
|
||||
|
||||
Reference in New Issue
Block a user