adapt-security / adapt-authoring

A server-based user interface for authoring eLearning courses using the Adapt framework.
http://adaptlearning.org
10 stars 5 forks source link

Super user is not created on new installation #634

Open jimjoes opened 2 months ago

jimjoes commented 2 months ago

What happened?

I installed the main branch of the new adapt authoring and went through the UI to setup the instance, however I cannot log in with the user I configured in the UI. On checking the users collection in Mongo, it's empty and there are no obvious errors in the console from the setup. I also tried npx adapt-security/utils register-super -e <email> which runs and doesn't produce any errors (or success notifications), but no item is created in the user collection.

Expected behaviour

I would expect the user to be setup

Steps to reproduce

  1. install using npx adapt-security/at-utils install --branches --prerelease adapt-1.0
  2. follow UI to configure setup
  3. run npm run dev
  4. Try and login.

Authoring tool version

1.0.0-rc.4

Framework version

5.38.2

What browsers are you seeing the problem on?

Chrome

Relevant log output

AFICT there are no errors emitted relating to user setup.