connect-roles
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -176,3 +176,3 @@ "use strict"; | ||
function defaultFailureHandler(req, res, action) { | ||
res.send(403); | ||
(res.sendStatus || res.send).bind(res)(403); | ||
} |
{ | ||
"name": "connect-roles", | ||
"description": "Provides dynamic roles based authorization for node.js connect and express servers.", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"homepage": "http://documentup.com/ForbesLindesay/connect-roles", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -9,4 +9,4 @@ # Connect Roles | ||
[![Build Status](https://secure.travis-ci.org/ForbesLindesay/connect-roles.png?branch=master)](http://travis-ci.org/ForbesLindesay/connect-roles) | ||
[![Dependency Status](https://img.shields.io/gemnasium/ForbesLindesay/connect-roles.svg)](https://gemnasium.com/ForbesLindesay/connect-roles) | ||
[![NPM version](https://img.shields.io/npm/v/connect-roles.svg)](http://badge.fury.io/js/connect-roles) | ||
[![Dependency Status](https://img.shields.io/david/ForbesLindesay/connect-roles.svg)](https://david-dm.org/ForbesLindesay/connect-roles) | ||
[![NPM version](https://img.shields.io/npm/v/connect-roles.svg)](https://www.npmjs.com/package/connect-roles) | ||
[![Gratipay](https://img.shields.io/gratipay/ForbesLindesay.svg)](https://gratipay.com/ForbesLindesay) | ||
@@ -13,0 +13,0 @@ |
21353