keystonejs/keystone-classic

`auth: false` or left out in `keystone.init` stops admin UI rendering

Open

#4046 aperta il 1 mar 2017

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)JavaScript (2288 fork)batch import
bughelp wanted

Metriche repository

Star
 (14.656 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Steps to reproduce the behavior

Start a keystone project with auth: false, load /keystone

Expected behavior

We can access the admin UI, even if we are not logged in

Actual behavior

Admin UI fails to load with 500 error Cannot read property 'id' of undefined, which comes from keystone/admin/server/routes/index.js:39

Guida contributor