From ec5b22aa87c49528d0fe45546d899eaf1e8917ac Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 2 Aug 2022 14:13:25 +0530 Subject: [PATCH] Island: Remove unused GET from Registration resource --- monkey/monkey_island/cc/resources/auth/register.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/monkey/monkey_island/cc/resources/auth/register.py b/monkey/monkey_island/cc/resources/auth/register.py index 5101a1836..8f4814858 100644 --- a/monkey/monkey_island/cc/resources/auth/register.py +++ b/monkey/monkey_island/cc/resources/auth/register.py @@ -18,9 +18,6 @@ class Registration(AbstractResource): def __init__(self, authentication_service: AuthenticationService): self._authentication_service = authentication_service - def get(self): - return {"needs_registration": self._authentication_service.needs_registration()} - def post(self): username, password = get_username_password_from_request(request)