No need to mention the cookies.
parent
eb58109292
commit
1ca3e1f4ef
|
@ -17,8 +17,8 @@
|
|||
-moduledoc """
|
||||
Dudes users management module.
|
||||
|
||||
Here lives all the functions needed to create, update and delete users
|
||||
from the dudeswave database.
|
||||
Here lives all the functions for the APIs needed to create, update and delete
|
||||
users from the dudeswave database.
|
||||
""".
|
||||
|
||||
-include_lib("dudeswave/include/defines.hrl").
|
||||
|
|
|
@ -17,14 +17,6 @@
|
|||
-moduledoc """
|
||||
JSON API to manage users.
|
||||
|
||||
The username is passed in a cookie. The handler recover it from the
|
||||
session. Cookies are:
|
||||
|
||||
```
|
||||
dudename: the actual username
|
||||
dudeauth: the authentication cookie
|
||||
```
|
||||
|
||||
If the session is not valid, all the requests will return `403 Forbidden` to
|
||||
the client. In case a technical problem occurs, `500 Internal Server Error`
|
||||
is returned.
|
||||
|
|
Loading…
Reference in New Issue