Skip to content

Commit

Permalink
more instructive example
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Nov 26, 2011
1 parent 7cea783 commit b1ad0a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Expand Up @@ -30,7 +30,7 @@ app.post('/forgot', function (req, res) {
});

reset.on('request', function (req_, res_) {
res_.end('password reset');
res_.end('give the user some password boxes here');
});
});

Expand Down
4 changes: 2 additions & 2 deletions example/web/server.js
Expand Up @@ -4,7 +4,7 @@ var app = express.createServer();
app.use(express.static(__dirname));
app.use(express.bodyParser());

var forgot = require('../../')({
var forgot = require('password-reset')({
uri : 'http://localhost:8080/_password_reset',
from : 'password-robot@localhost',
host : 'localhost', port : 25,
Expand All @@ -21,7 +21,7 @@ app.post('/forgot', function (req, res) {
});

reset.on('request', function (req_, res_) {
res_.end('password reset');
res_.end('give the user some password boxes here');
});
});

Expand Down

0 comments on commit b1ad0a1

Please sign in to comment.