senecajs / seneca-auth

A Seneca user authentication plugin for Hapi and Express
http://senecajs.org
MIT License
33 stars 29 forks source link

_.extend unnecessary in seneca.act #38

Closed rjrodger closed 9 years ago

rjrodger commented 9 years ago

https://github.com/rjrodger/seneca-auth/blob/0.5.0/auth.js#L127

you can say: seneca.add( "role:user,cmd:register", user_data ) as a convenience - the first argument properties will take precedence

because: https://github.com/rjrodger/seneca/blob/master/seneca.js#L1942