Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove BCrypt class and refactor code
The BCrypt class is not needed as all of the methods are module level and do not operate on an object.
- Loading branch information
1 parent
5461148
commit 0d0e090
Showing
3 changed files
with
48 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
var bcrypt_lib = require('./bcrypt_lib'); | ||
|
||
module.exports = new bcrypt_lib.BCrypt(); | ||
module.exports = require('./bcrypt_lib'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.