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

贡献者指南