From 8496baa5b95ba99ffc5df6fa72eaebbfed085e28 Mon Sep 17 00:00:00 2001 From: Matteo Savatteri Date: Tue, 24 Dec 2019 17:44:03 +0100 Subject: [DOC] Run `manage_users` with `NODE_ENV=production` set. `manage_user` script defaults to `development` environment. Signed-off-by: Matteo Savatteri --- docs/configuration-env-vars.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/configuration-env-vars.md') diff --git a/docs/configuration-env-vars.md b/docs/configuration-env-vars.md index 84155847..bffc2731 100644 --- a/docs/configuration-env-vars.md +++ b/docs/configuration-env-vars.md @@ -91,7 +91,7 @@ defaultNotePath can't be set from env-vars | variable | example value | description | | -------- | ------------- | ----------- | | `CMD_EMAIL` | `true` or `false` | Set to allow email sign-in. The default is `true`. | -| `CMD_ALLOW_EMAIL_REGISTER` | `true` or `false` | Set to allow registration of new accounts using an email address. If set to `false`, you can still create accounts using the command line - see `bin/manage_users` for details. This setting has no effect if `CMD_EMAIL` is `false`. The default for `CMD_ALLOW_EMAIL_REGISTER` is `true`. | +| `CMD_ALLOW_EMAIL_REGISTER` | `true` or `false` | Set to allow registration of new accounts using an email address. If set to `false`, you can still create accounts using the command line - see `bin/manage_users` for details (In production mode, remember to run it with `NODE_ENV` set as `production` in the enviroment). This setting has no effect if `CMD_EMAIL` is `false`. The default for `CMD_ALLOW_EMAIL_REGISTER` is `true`. | ### Dropbox Login -- cgit v1.2.3