mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
Fixing typo: interacte -> interact
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
/**
|
||||
* Module dependencies.
|
||||
*/
|
||||
@@ -59,7 +58,7 @@ function andRestrictTo(role) {
|
||||
// Middleware for faux authentication
|
||||
// you would of course implement something real,
|
||||
// but this illustrates how an authenticated user
|
||||
// may interacte with middleware
|
||||
// may interact with middleware
|
||||
|
||||
app.use(function(req, res, next){
|
||||
req.authenticatedUser = users[0];
|
||||
|
||||
Reference in New Issue
Block a user