aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/installer.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-25 17:57:37 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-25 17:57:37 +0200
commit26d7d31ba3b1d26ea9a51e8626e4a4537867db94 (patch)
tree988da4baa1397aaaf46a3c131918257fee4bc34f /server/initializers/installer.js
parentf84a89f0e7e9595d2b6f6dd59181c01f562a4239 (diff)
downloadPeerTube-26d7d31ba3b1d26ea9a51e8626e4a4537867db94.tar.gz
PeerTube-26d7d31ba3b1d26ea9a51e8626e4a4537867db94.tar.zst
PeerTube-26d7d31ba3b1d26ea9a51e8626e4a4537867db94.zip
Server: encrypt password in database
Diffstat (limited to 'server/initializers/installer.js')
-rw-r--r--server/initializers/installer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/installer.js b/server/initializers/installer.js
index c12187871..974402094 100644
--- a/server/initializers/installer.js
+++ b/server/initializers/installer.js
@@ -114,8 +114,8 @@ function createOAuthAdminIfNotExist (callback) {
114 user.save(function (err, createdUser) { 114 user.save(function (err, createdUser) {
115 if (err) return callback(err) 115 if (err) return callback(err)
116 116
117 logger.info('Username: ' + createdUser.username) 117 logger.info('Username: ' + username)
118 logger.info('User password: ' + createdUser.password) 118 logger.info('User password: ' + password)
119 119
120 return callback(null) 120 return callback(null)
121 }) 121 })