mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #180 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-secgrup-initializedb-nil-pointer-2.1.0 to release/2.1.0
* commit '2c9e203bb3ee33bd8d110c3f189281da254ff3b7': 修正:secgroup initializedb需要admin token,修改initAuth同步执行,确保admin token可用
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user