lib/cas/client/middleware.rb in cas-client-0.2.0 vs lib/cas/client/middleware.rb in cas-client-0.2.1

- old
+ new

@@ -32,9 +32,10 @@ def server @_server ||= Cas::Client::Server.new end def set_session(attributes) + attributes[:ticket] = ticket_param @request.session['cas'] = attributes end def redirect_to(url, status=302) [ status, { 'Location' => url, 'Content-Type' => 'text/plain' }, ["Redirecting you to #{url}"] ]