Skip to content
This repository was archived by the owner on Aug 10, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ app.post('/register', function(req, res){
db.saveUser({
username: req.param('username'),
mail: req.param('email'),
password: bcrypt.hashSync(req.param('password'), 8)
password: bcrypt.hashSync(req.param('password'), bcrypt.genSaltSync(11))
},
function(err, saved) {
console.log("[DEBUG][/register][saveUser] %s", saved);
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "awesome_chat2k",
"version": "0.0.2",
"version": "0.0.3",
"private": true,
"scripts": {
"start": "node app"
Expand All @@ -11,12 +11,12 @@
"connect-flash": "0.1.1",
"cookie-parser": "^1.4.1",
"debug": "0.7.4",
"express": "^4.13.4",
"express": "^4.14.0",
"express-session": "^1.13.0",
"jade": "1.0.0",
"pug": "2.0.0-beta6",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will not work if you don't change app.js view engine for pug and renaming all views.

"passport": "0.1.17",
"passport-local": "0.1.6",
"rethinkdb": "^2.2.0",
"socket.io": "0.9.16"
"rethinkdb": "^2.3.3",
"socket.io": "1.7.1"
}
}
2 changes: 0 additions & 2 deletions views/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ block content
a(href="http://twitter.com/al3xandru").btn.btn-danger
i.icon-twitter
| @al3xandru