New app with `--dev` results in not being able to log in as initial admin
After digging through the code I can't quite figure out what the intended effects of passing the --dev
flag to pubsweet new ...
. I tried creating an app with and without that flag, and the one with the flag wouldn't allow me to log in as the admin user. Seems app instance isn't pointing to the same database as the initial admin user was created in.
Could you clarify what the intended differences are between an app generated with and without the --dev
flag? Much appreciated! :)