Skip to content

Commit

Permalink
Fix documentation snippet type
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-beguin committed Oct 18, 2017
1 parent c794474 commit 7e9fdb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ With:

**Nb:** If process is launched as a sub process it will send a message to its parent process when starting:

```json
```js
{status: 'started'}
```

## Server configuration

The server configuration must be a simple JSON file.

```json
```js
{
"port": 3004, // The port the server will listen to (default to 3004)
"userLoginAttribute": "cn", // The name of the LDAP attribute holding the user login (default to cn)
Expand All @@ -41,7 +41,7 @@ The server configuration must be a simple JSON file.
The database user must be a simple JSON file containing an array of users. Each user must have an attribute used to authenticate himself with the same name as defined by server configuration **userLoginAttribute**.
A user can also have any number of other attributes which will all be returned.

```json
```js
[
{
"dn": "cn=user,dc=test", // A valid DN (Distinguished Name)
Expand Down

0 comments on commit 7e9fdb0

Please sign in to comment.