Skip to content

Commit

Permalink
Island: Create MongoOTPRepository and pass to AuthenticationFacade
Browse files Browse the repository at this point in the history
Issue: #3078
PR: #3193
  • Loading branch information
shreyamalviya authored and mssalvatore committed Apr 4, 2023
1 parent 9417ab4 commit 878e0c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions monkey/monkey_island/cc/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
from monkey_island.cc.services.authentication_service.configure_flask_security import (
configure_flask_security,
)
from monkey_island.cc.services.authentication_service.mongo_otp_repository import MongoOTPRepository
from monkey_island.cc.services.authentication_service.token_generator import TokenGenerator
from monkey_island.cc.services.authentication_service.token_parser import TokenParser
from monkey_island.cc.services.representations import output_json
Expand Down Expand Up @@ -177,4 +178,5 @@ def _build_authentication_facade(container: DIContainer, security: Security):
security.datastore,
token_generator,
token_parser,
container.resolve(MongoOTPRepository),
)

0 comments on commit 878e0c3

Please sign in to comment.