forked from TrueCloudLab/certificates
wip
This commit is contained in:
parent
9bf9bf142d
commit
5929244fda
1 changed files with 3 additions and 2 deletions
|
@ -201,8 +201,9 @@ func (a *Authority) init() error {
|
|||
}
|
||||
}
|
||||
|
||||
// Pull AuthConfig from DB.
|
||||
if true {
|
||||
// Initialize step-ca Admin Database if it's not already initialized using
|
||||
// WithAdminDB.
|
||||
if a.adminDB == nil {
|
||||
// Check if AuthConfig already exists
|
||||
a.adminDB, err = authMgmtNosql.New(a.db.(nosql.DB), mgmt.DefaultAuthorityID)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue