Closed ofShard closed 10 years ago
do i have to manually set a user as an admin from the mongodb console?
Yes, something like that. I just temporarily commented out the line of code that checks admin status myself.
It might be preferable to have some system during installation, but if this app isn't intended to be distributed, it might not be worth developing.
i prefer to have an initial admin user and pass this on the server start as an option, so something like:
$ node app -e norman@domain.tld run.js
password: ************
as this application would eventually be distributed.
https://github.com/MassDistributionMedia/tzm-blade/issues/2 #41 access via /user/list