diff --git a/monkey/monkey_island/cc/resources/auth/authenticate.py b/monkey/monkey_island/cc/resources/auth/authenticate.py index f7ffe251b..9ea06f307 100644 --- a/monkey/monkey_island/cc/resources/auth/authenticate.py +++ b/monkey/monkey_island/cc/resources/auth/authenticate.py @@ -32,6 +32,8 @@ class Authenticate(AbstractResource): def post(self): """ + Authenticates a user + Gets a username and password from the request sent from the client, authenticates, and returns an access token diff --git a/monkey/monkey_island/cc/resources/auth/register.py b/monkey/monkey_island/cc/resources/auth/register.py index d3938ec7b..56178ea20 100644 --- a/monkey/monkey_island/cc/resources/auth/register.py +++ b/monkey/monkey_island/cc/resources/auth/register.py @@ -23,6 +23,8 @@ class Registration(AbstractResource): def post(self): """ + Registers a new user + Gets a username and password from the request sent from the client, and registers a new user