diff --git a/app/config/Module.scala b/app/config/Module.scala index c6d0f111..8513f611 100644 --- a/app/config/Module.scala +++ b/app/config/Module.scala @@ -28,6 +28,9 @@ class Module extends AbstractModule { bind(classOf[DataRetrievalAction]).to(classOf[DataRetrievalActionImpl]).asEagerSingleton() bind(classOf[DataRequiredAction]).to(classOf[DataRequiredActionImpl]).asEagerSingleton() + // For session based storage instead of cred based, change to SessionIdentifierAction + bind(classOf[IdentifierAction]).to(classOf[AuthenticatedIdentifierAction]).asEagerSingleton() + bind(classOf[Clock]).toInstance(Clock.systemDefaultZone.withZone(ZoneOffset.UTC)) } }