Automatic merge from release/2.1.0 -> release/2.2.0

* commit 'bc9979d918c926fc1fb865602ffae795ff2e79cc':
  修正:secgroup initializedb需要admin token,修改initAuth同步执行,确保admin token可用
This commit is contained in:
邱剑
2018-09-10 23:53:11 +08:00
+3 -1
View File
@@ -36,5 +36,7 @@ func InitAuth(options *Options, authComplete auth.AuthCompletedCallback) {
// debug := options.LogLevel == "debug"
auth.AsyncInit(a, false, true, authComplete)
auth.Init(a, false, true) // , authComplete)
authComplete()
}