forked from p15670423/monkey
Island: Rename Registration -> Register
This commit is contained in:
parent
5826ef1767
commit
a5f71a3ff5
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue