keystonejs/keystone-classic

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

Open

#4,046 建立於 2017年3月1日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)JavaScript (14,656 star) (2,288 fork)batch import
bughelp wanted

描述

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

貢獻者指南