diff --git a/dudeswave/src/dudeswave_auth.erl b/dudeswave/src/dudeswave_auth.erl index 5ea5c04..7e98142 100644 --- a/dudeswave/src/dudeswave_auth.erl +++ b/dudeswave/src/dudeswave_auth.erl @@ -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"). diff --git a/dudeswave/src/dudeswave_user_handler.erl b/dudeswave/src/dudeswave_user_handler.erl index 1131515..3c6b623 100644 --- a/dudeswave/src/dudeswave_user_handler.erl +++ b/dudeswave/src/dudeswave_user_handler.erl @@ -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.