Skip to content

Commit

Permalink
Use new realm interpolator
Browse files Browse the repository at this point in the history
  • Loading branch information
propensive committed Oct 23, 2023
1 parent 7c4158c commit 142e94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.scala
Original file line number Diff line number Diff line change
Expand Up @@ -372,4 +372,4 @@ def basicAuth(validate: (Text, Text) => Boolean, realm: Text)(response: => Respo
val auth = t"""Basic realm="$realm", charset="UTF-8""""
Response(Bytes(), HttpStatus.Unauthorized, Map(ResponseHeader.WwwAuthenticate -> auth))

given realm: Realm = Realm(t"scintillate")
given realm: Realm = realm"scintillate"

0 comments on commit 142e94f

Please sign in to comment.