From ee9dfd1657afb358b257c5eddcd5b0fd519afd89 Mon Sep 17 00:00:00 2001 From: To-om Date: Fri, 8 Sep 2017 14:58:35 +0200 Subject: [PATCH] #29 Rename authentication type by authentication provider --- app/org/elastic4play/services/auth/MultiAuthSrv.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/org/elastic4play/services/auth/MultiAuthSrv.scala b/app/org/elastic4play/services/auth/MultiAuthSrv.scala index 51ae624..863689e 100644 --- a/app/org/elastic4play/services/auth/MultiAuthSrv.scala +++ b/app/org/elastic4play/services/auth/MultiAuthSrv.scala @@ -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)