nxus / users

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

Ability to exclude route from protected list #53

Open ScottMaxson opened 4 years ago

ScottMaxson commented 4 years ago

When applications use wildcards to add protected routes, it would be useful to then exclude certain cases, as in:

users.protectedRoute('/abc/*')

and then, later, it would be nice to be able to do this:

users.unprotectRoute('/abc/open')