Skip to content

Commit

Permalink
#29 Rename authentication type by authentication provider
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Nov 20, 2017
1 parent 951e63e commit ee9dfd1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/org/elastic4play/services/auth/MultiAuthSrv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class MultiAuthSrv(
authModules: immutable.Set[AuthSrv],
ec: ExecutionContext) =
this(
configuration
.getOptional[Seq[String]]("auth.type")
configuration.getDeprecated[Option[Seq[String]]]("auth.provider", "auth.type")
.getOrElse(Nil)
.flatMap { authType
authModules.find(_.name == authType)
Expand Down

0 comments on commit ee9dfd1

Please sign in to comment.