unchainedshop / create

Boilerplate to setup an e-commerce system based on the Unchained Engine
9 stars 3 forks source link

Invalid credentials after a fresh install in controlpanel #46

Closed schmidsi closed 3 years ago

schmidsi commented 3 years ago

Steps to reproduce:

git clone git@github.com:unchainedshop/create.git
cd create/engine
npm install
npm run dev

Navigate to http://localhost:4010/sign-in/ Sign in with with admin@unchained.local / password

Expected behaviour

Logged into the control panel as admin

Wrong behaviour

Screenshot 2020-12-23 at 19 44 19
schmidsi commented 3 years ago

I was able to solve the issue by rearranging the setup statements. There is a race-condition. See: https://github.com/unchainedshop/create/commit/aa708197e5c10a60fba4557200faefa669b929e3#diff-abde3e91e6465412b66e784d8f711939e8119e06d6264b125ded588755b9b3c0