lib/rodauth/features/oauth_jwt.rb in rodauth-oauth-0.9.0 vs lib/rodauth/features/oauth_jwt.rb in rodauth-oauth-0.9.1

- old
+ new

@@ -712,10 +712,9 @@ response["Cache-Control"] = "private, max-age=#{max_age}" else response["Cache-Control"] = "no-store" response["Pragma"] = "no-cache" end - response.write(jwt) - request.halt + return_response(jwt) end end end