diff options
author | Matteo Savatteri | 2019-12-24 17:44:03 +0100 |
---|---|---|
committer | Matteo Savatteri | 2019-12-24 18:02:55 +0100 |
commit | 8496baa5b95ba99ffc5df6fa72eaebbfed085e28 (patch) | |
tree | 6ad7d03f10d57219f1b571a3372d829d01659480 /docs | |
parent | 313eb74ed697c5260df9293b1aefe3695cf65a5a (diff) |
[DOC] Run `manage_users` with `NODE_ENV=production` set.
`manage_user` script defaults to `development` environment.
Signed-off-by: Matteo Savatteri <matteosavatteri@lcm.mi.infn.it>
Diffstat (limited to '')
-rw-r--r-- | docs/configuration-config-file.md | 2 | ||||
-rw-r--r-- | docs/configuration-env-vars.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration-config-file.md b/docs/configuration-config-file.md index d24abce6..c1114549 100644 --- a/docs/configuration-config-file.md +++ b/docs/configuration-config-file.md @@ -104,7 +104,7 @@ these are rarely used for various reasons. | variables | example values | description | | --------- | ------ | ----------- | | `email` | `true` or `false` | Set to allow email sign-in. The default is `true`. | -| `allowEmailRegister` | `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 `email` is `false`. The default for `allowEmailRegister` is `true`. | +| `allowEmailRegister` | `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 `email` is `false`. The default for `allowEmailRegister` is `true`. | ### Dropbox Login 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 |