payloadcms / payload

The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.
https://payloadcms.com
MIT License
20.99k stars 1.26k forks source link

fix: should not display create/login view with disableLocalStrategy: true #6940

Closed JessChowdhury closed 2 days ago

JessChowdhury commented 2 days ago

Description

The createFirstUser view should not be displayed or accessible when disableLocalStrategy: false.

Issue reported in Discord here.

Type of change

Checklist: