Skip to content

Commit 1dbd3c4

Browse files
authored
Merge pull request jwt-scala#54 from perotom/patch-1
Play 2.6 changed config names
2 parents a6782e3 + 7f0cc42 commit 1dbd3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

play/src/main/scala/JwtSession.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ object JwtSession extends JwtJsonImplicits with JwtPlayImplicits {
117117

118118
val TOKEN_PREFIX: String = getConfigString("play.http.session.tokenPrefix").getOrElse("Bearer ")
119119

120-
private def key: Option[String] = getConfigString("play.crypto.secret")
120+
private def key: Option[String] = getConfigString("play.http.secret.key")
121121

122122
def deserialize(token: String, options: JwtOptions): JwtSession = (key match {
123123
case Some(k) => JwtJson.decodeJsonAll(token, k, Seq(ALGORITHM), options)

0 commit comments

Comments
 (0)