Skip to content

Commit b79949f

Browse files
committed
removed identities
1 parent 512d661 commit b79949f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/main/resources/application.conf

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
eval.auth {
22
secretKey = "secretKey"
3-
secretKey = ${?EVAL_SECRET_KEY}
4-
identities = {
5-
scalaexercises = ${?SCALA_EXERCISES_EVAL_IDENTITY}
6-
}
3+
secretKey = ${?EVAL_SECRET_KEY}
74
}
85

src/test/scala/EvalEndpointSpec.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class EvalEndpointSpec extends FunSpec with Matchers {
2828

2929
val sonatypeReleases = "https://oss.sonatype.org/content/repositories/releases/" :: Nil
3030

31-
val validToken = Jwt.encode("""{"user":1}""", auth.secretKey, JwtAlgorithm.HS256)
31+
val validToken = Jwt.encode("""{"user": "scala-exercises"}""", auth.secretKey, JwtAlgorithm.HS256)
3232

3333
val invalidToken = java.util.UUID.randomUUID.toString
3434

0 commit comments

Comments
 (0)