This forum has moved, please join us on github discussions. We will keep these old posts available for reference. Thank you!

Password generation

I have just set up my environment, but did not put in a username or password when setting up. I now can’t login. Do I need to reinstall, or can I run a command for a new user name and password? Or would this indicate I did not set up my environment properly?

Many thanks,
Rich

You can run node app.js apostrophe-users:add USERNAME GROUP to create a new user. If you’re starting from scratch, you probably want GROUP to be set to admin

You’ll get a prompt to enter a password for the new user.

thanks Stuart. that worked. what kind of burger is that?

1 Like