aboutsummaryrefslogtreecommitdiff
path: root/setup/base.go
diff options
context:
space:
mode:
Diffstat (limited to 'setup/base.go')
-rw-r--r--setup/base.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/base.go b/setup/base.go
index e9aa2a45..4c50a6be 100644
--- a/setup/base.go
+++ b/setup/base.go
@@ -263,7 +263,7 @@ func (b *BaseDendrite) KeyServerHTTPClient() keyserverAPI.KeyInternalAPI {
// CreateAccountsDB creates a new instance of the accounts database. Should only
// be called once per component.
func (b *BaseDendrite) CreateAccountsDB() accounts.Database {
- db, err := accounts.NewDatabase(&b.Cfg.UserAPI.AccountDatabase, b.Cfg.Global.ServerName)
+ db, err := accounts.NewDatabase(&b.Cfg.UserAPI.AccountDatabase, b.Cfg.Global.ServerName, b.Cfg.UserAPI.BCryptCost)
if err != nil {
logrus.WithError(err).Panicf("failed to connect to accounts db")
}