user.js
function cmd_clean(args, done) {
    var user = args.user.data$()
    delete user.pass
    delete user.salt
    delete user.active
    delete user.$
    done(null, user)
  }
function cmd_clean(args, done) {
    var user = args.user.data$()
    delete user.pass
    delete user.salt
    delete user.active
    delete user.$
    done(null, user)
  }
function cmd_clean ( args , done ) { var user = args . user . data$ ( ) delete user . pass delete user . salt delete user . active delete user . $ done ( null , user ) }
DEPRECATED - do this in seneca-auth
DEPRECATED - do this in seneca - auth