不要怂,就是干,撸起袖子干!

Commit 0f8e2370 by Sascha Depold

fixed empty password issue

1 parent 9b0f8337
Showing with 1 additions and 1 deletions
...@@ -3,7 +3,7 @@ var Sequelize = function(database, username, password, options) { ...@@ -3,7 +3,7 @@ var Sequelize = function(database, username, password, options) {
this.config = { this.config = {
database: database, database: database,
username: username, username: username,
password: (((["", null, false].indexOf(password) > -1) || (typeof password == 'undefined')) ? "" : password), password: (((["", null, false].indexOf(password) > -1) || (typeof password == 'undefined')) ? null : password),
host : options.host || 'localhost', host : options.host || 'localhost',
port : options.port || 3306 port : options.port || 3306
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!