ep_headerauth 1.1.14 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -1
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -16,13 +16,17 @@ The headers used by the plugin can be customized.
16
16
 
17
17
  ## Configuration
18
18
 
19
+ To use this plugin the `trustProxy` and `requireAuthentication` config items
20
+ must be set to true, otherwise it won't work as expected.
21
+
19
22
  In your `settings.json`:
20
23
 
21
24
  ```
22
25
  {
23
26
  // ...
24
27
  "trustProxy": true,
25
- "headerauth": {
28
+ "requireAuthentication": true,
29
+ "ep_headerauth": {
26
30
  // Defaults to "x-authenticated-user"
27
31
  "username_header": "x-authenticated-user",
28
32
  // Defaults to "x-authenticated-name"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ep_headerauth",
3
- "version": "1.1.14",
3
+ "version": "1.1.17",
4
4
  "description": "Etherpad plugin to use a reverse proxy's HTTP headers for authentication.",
5
5
  "keywords": [
6
6
  "auth",
@@ -25,9 +25,9 @@
25
25
  "url": "https://etherpad.org/"
26
26
  },
27
27
  "devDependencies": {
28
- "eslint": "^8.10.0",
29
- "eslint-config-etherpad": "^3.0.4",
30
- "typescript": "^4.5.5"
28
+ "eslint": "^8.11.0",
29
+ "eslint-config-etherpad": "^3.0.9",
30
+ "typescript": "^4.6.2"
31
31
  },
32
32
  "scripts": {
33
33
  "lint": "eslint .",