Skip to content

Commit

Permalink
Fix promise use
Browse files Browse the repository at this point in the history
  • Loading branch information
gcampax committed Aug 20, 2019
1 parent f31cf4d commit 9ddd255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module.exports = {
var user = model.get();
hashPassword(user.sqliteKeySalt, password).then((key) => {
req.app.frontend.unlock(key);
}).done();
});
},

/* Middleware to check if the user is logged in before performing an
Expand Down

0 comments on commit 9ddd255

Please sign in to comment.