Skip to content

Authentication is broken in v4.0.0 #13

@makuko

Description

@makuko

In the latest commit in protected-routes.handler.ts the following else if block was introduced:

} else if (AdminRouter.routes.find((r) => r.action === 'bundleComponents')) {
      return;

It breaks authentication and AdminJS is accessible without login. After removing it everything works as expected again. A minimal installation following the docs is enough to reproduce the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions