Cleanup references to bucket module

This commit is contained in:
Marek Siarkowicz
2021-07-05 16:06:37 +02:00
parent a1fd98c6b0
commit a97e48e08d
8 changed files with 50 additions and 39 deletions

View File

@ -931,8 +931,8 @@ func NewAuthStore(lg *zap.Logger, be backend.Backend, tp TokenProvider, bcryptCo
tx.Lock()
schema.UnsafeCreateAuthBucket(tx)
tx.UnsafeCreateBucket(schema.AuthUsers)
tx.UnsafeCreateBucket(schema.AuthRoles)
schema.UnsafeCreateAuthUsersBucket(tx)
schema.UnsafeCreateAuthRolesBucket(tx)
enabled := schema.UnsafeReadAuthEnabled(tx)