keystonejs/keystone-classic

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

Open

#4046 opened on Mar 1, 2017

View on GitHub
 (7 comments) (0 reactions) (0 assignees)JavaScript (14,656 stars) (2,288 forks)batch import
bughelp wanted

Description

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

Contributor guide