forked from p15670423/monkey
Island: Remove unused GET from Registration resource
This commit is contained in:
parent
fb3a511a41
commit
ec5b22aa87
|
@ -18,9 +18,6 @@ class Registration(AbstractResource):
|
||||||
def __init__(self, authentication_service: AuthenticationService):
|
def __init__(self, authentication_service: AuthenticationService):
|
||||||
self._authentication_service = authentication_service
|
self._authentication_service = authentication_service
|
||||||
|
|
||||||
def get(self):
|
|
||||||
return {"needs_registration": self._authentication_service.needs_registration()}
|
|
||||||
|
|
||||||
def post(self):
|
def post(self):
|
||||||
username, password = get_username_password_from_request(request)
|
username, password = get_username_password_from_request(request)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue