aboutsummaryrefslogtreecommitdiffstats
path: root/install.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2017-04-17 19:15:12 -0700
committerAdam Soltys <[email protected]>2017-04-17 19:15:12 -0700
commite70a7bad02a23651a5c42a70a289ff7327589bbe (patch)
tree55bd73c0329a1cfd7bd49de0153e747a07ca3d9b /install.js
parent73adacab3e5ebf453e3fe8b878d8656b5d07d8ff (diff)
downloadcoinos-server-e70a7bad02a23651a5c42a70a289ff7327589bbe.tar.gz
coinos-server-e70a7bad02a23651a5c42a70a289ff7327589bbe.zip
jwt login
Diffstat (limited to 'install.js')
-rw-r--r--install.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/install.js b/install.js
index 30ece122..6432fb1d 100644
--- a/install.js
+++ b/install.js
@@ -1,9 +1,7 @@
(function() {
var bcrypt, db;
-
db = require("./redis");
-
- bcrypt = require('bcryptjs');
+ bcrypt = require('bcrypt');
db.get("user:admin", function(err, res) {
if (!res) {