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

You need to sign in or sign up before continuing.
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) {
this.config = {
database: database,
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',
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!