Island: Rename Registration -> Register

This commit is contained in:
Shreya Malviya 2022-08-02 18:25:12 +05:30
parent 5826ef1767
commit a5f71a3ff5
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ from monkey_island.cc.resources.agent_configuration import AgentConfiguration
from monkey_island.cc.resources.agent_controls import StopAgentCheck, StopAllAgents
from monkey_island.cc.resources.attack.attack_report import AttackReport
from monkey_island.cc.resources.auth.authenticate import Authenticate, init_jwt
from monkey_island.cc.resources.auth.register import Registration
from monkey_island.cc.resources.auth.register import Register
from monkey_island.cc.resources.auth.registration_status import RegistrationStatus
from monkey_island.cc.resources.blackbox.log_blackbox_endpoint import LogBlackboxEndpoint
from monkey_island.cc.resources.blackbox.monkey_blackbox_endpoint import MonkeyBlackboxEndpoint
@ -153,7 +153,7 @@ def init_api_resources(api: FlaskDIWrapper):
def init_restful_endpoints(api: FlaskDIWrapper):
api.add_resource(Root)
api.add_resource(Registration)
api.add_resource(Register)
api.add_resource(RegistrationStatus)
api.add_resource(Authenticate)
api.add_resource(Monkey)

View File

@ -11,7 +11,7 @@ from monkey_island.cc.services import AuthenticationService
logger = logging.getLogger(__name__)
class Registration(AbstractResource):
class Register(AbstractResource):
"""
A resource for user registration
"""