mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-01 20:59:14 -04:00
Changed the authentication mechanism to support hooks
This commit is contained in:
parent
7b39da2d69
commit
ecac40d062
4 changed files with 35 additions and 24 deletions
|
@ -51,22 +51,23 @@
|
|||
Note: /admin always requires authentication. */
|
||||
"requireAuthentication": false,
|
||||
|
||||
/* Require authorization by a module, or a user with is_admin set,
|
||||
see below. Access to /admin allways requires either, regardless
|
||||
of this setting. */
|
||||
/* Require authorization by a module, or a user with is_admin set, see below. */
|
||||
"requireAuthorization": false,
|
||||
|
||||
/* Users for basic authentication. is_admin = true gives access to /admin */
|
||||
/* Users for basic authentication. is_admin = true gives access to /admin.
|
||||
If you do not uncomment this, /admin will not be available! */
|
||||
/*
|
||||
"users": {
|
||||
"admin": {
|
||||
"password": "changeme",
|
||||
"password": "changeme1",
|
||||
"is_admin": true
|
||||
},
|
||||
"user": {
|
||||
"password": "changeme",
|
||||
"password": "changeme1",
|
||||
"is_admin": false
|
||||
}
|
||||
},
|
||||
*/
|
||||
|
||||
/* The log level we are using, can be: DEBUG, INFO, WARN, ERROR */
|
||||
"loglevel": "INFO"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue