keystonejs/keystone-classic

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

Ouverte

#4 046 ouverte le 1 mars 2017

 (7 commentaires) (0 réaction) (0 personne assignée)JavaScript (2 288 forks)batch import
bughelp wanted

Métriques du dépôt

Stars
 (14 656 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur