Skip to content

Commit

Permalink
Merge pull request #5 from hmrc/hipp-199_fix_injection
Browse files Browse the repository at this point in the history
HIPP-199 fix: reintroduce IdentifierAction binding to fix runtime err…
  • Loading branch information
PaulCDurham authored Dec 15, 2022
2 parents bd6b947 + 2e92af9 commit f76987b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/config/Module.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
}

0 comments on commit f76987b

Please sign in to comment.