nxus / users

User management module for Nxus apps.
MIT License
0 stars 0 forks source link

Add in proxy `protectedRoute` which registers a handler as well #1

Closed mjreich closed 8 years ago

mjreich commented 8 years ago

Example:

app.get(‘users’).provide(‘protectedRoute’, “/my-route”, this._protectedHandler.bind(this))

Getting fancy, it could register this on the router Module, instead of users.

loppear commented 8 years ago

Implemented a while back, closing.