lib/jwt_keeper/controller.rb in jwt_keeper-4.0.1 vs lib/jwt_keeper/controller.rb in jwt_keeper-5.0.0

- old
+ new

@@ -27,10 +27,10 @@ def read_authentication_token return nil unless request.headers['Authorization'] @authentication_token ||= JWTKeeper::Token.find( request.headers['Authorization'].split.last, - defined?(cookies) && cookies.signed['jwt_keeper'] + cookie_secret: defined?(cookies) && cookies.signed['jwt_keeper'] ) end # Encodes and writes the token # @param token [Token] The token to be written