Skip to content

Auth Fields Div still displays with no visible elements #12089

Open
@drewbo

Description

@drewbo

Describe the Bug.

I hid the API Key fields as described in #8785. However the auth fields div still displays

Image

Reproduction Steps

My user collection has auth like:

  auth: {
    disableLocalStrategy: true,
    useAPIKey: true,
    tokenExpiration: 86400, // one day
    cookies: {
      domain: process.env.COOKIE_DOMAIN,
      secure: !process.env.ORIGIN?.includes('http://localhost')
    }
  },

and the API Key fields are hidden as in the example above

Environment Info

Node: 22.12.0
payload: 3.31.0
next: 15.2.4

Metadata

Metadata

Assignees

Labels

area: uiRelated to the admin panel.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions