diff --git a/lib/jcas.js b/lib/jcas.js index 7a3107a..72268ca 100644 --- a/lib/jcas.js +++ b/lib/jcas.js @@ -1,4 +1,3 @@ - /*! * A Node.js CAS client, implementing the protocol as defined at: * http://www.jasig.org/cas/protocol @@ -164,13 +163,8 @@ CAS.prototype.validate = function(ticket, callback, service, renew) return; } var username = elemUser[0]; - var attributes = elemSuccess['cas:attributes'][0]; - callback(undefined, true, username, { - 'username': username, - 'attributes': attributes, - 'ticket': ticket, - }); + callback(undefined, true, username); return; }