From 1ca3e1f4ef4db6c99171e771aecc0c5779023a12 Mon Sep 17 00:00:00 2001 From: absc Date: Thu, 15 Aug 2024 22:08:46 +0000 Subject: [PATCH] No need to mention the cookies. --- dudeswave/src/dudeswave_auth.erl | 4 ++-- dudeswave/src/dudeswave_user_handler.erl | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) 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.