summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristoph (Sheogorath) Kern2018-03-29 19:40:38 +0200
committerGitHub2018-03-29 19:40:38 +0200
commita9a057723021ac4833ae665d0321c03564281b9e (patch)
tree9ab2c1523b02578838ef85d1465cfee784bf98c2 /README.md
parentd2cce7638a78ca7616607217b179c15915452058 (diff)
parent30b5ff0d96a25ef21cccaebd242ef69b7c4a84d1 (diff)
Merge pull request #789 from SISheogorath/fix/sessionSecretEnv
Add session data to env vars
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0bb3845b..bdad3336 100644
--- a/README.md
+++ b/README.md
@@ -151,6 +151,8 @@ There are some config settings you need to change in the files below.
| `HMD_ALLOW_FREEURL` | `true` or `false` | set to allow new note creation by accessing a nonexistent note URL |
| `HMD_DEFAULT_PERMISSION` | `freely`, `editable`, `limited`, `locked` or `private` | set notes default permission (only applied on signed users) |
| `HMD_DB_URL` | `mysql://localhost:3306/database` | set the database URL |
+| `HMD_SESSION_SECRET` | no example | Secret used to sign the session cookie. If non is set, one will randomly generated on startup |
+| `HMD_SESSION_LIFE` | `1209600000` | Session life time. (milliseconds) |
| `HMD_FACEBOOK_CLIENTID` | no example | Facebook API client id |
| `HMD_FACEBOOK_CLIENTSECRET` | no example | Facebook API client secret |
| `HMD_TWITTER_CONSUMERKEY` | no example | Twitter API consumer key |