diff options
author | Kegsay <kegan@matrix.org> | 2021-03-08 13:19:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 13:19:02 +0000 |
commit | 850abb1dde2ce6f85554457e3ee94a9837e13897 (patch) | |
tree | 4b9068e9e4bca77ac1be1291c10fc53d8a704648 /userapi/userapi.go | |
parent | c3ad2cca49a7ad5890dddf2d8eec3e3cbbff16d1 (diff) |
Make bcrypt cost configurable (#1793)
Diffstat (limited to 'userapi/userapi.go')
-rw-r--r-- | userapi/userapi.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/userapi/userapi.go b/userapi/userapi.go index b8b826bc..74702020 100644 --- a/userapi/userapi.go +++ b/userapi/userapi.go @@ -37,7 +37,6 @@ func AddInternalRoutes(router *mux.Router, intAPI api.UserInternalAPI) { func NewInternalAPI( accountDB accounts.Database, cfg *config.UserAPI, appServices []config.ApplicationService, keyAPI keyapi.KeyInternalAPI, ) api.UserInternalAPI { - deviceDB, err := devices.NewDatabase(&cfg.DeviceDatabase, cfg.Matrix.ServerName) if err != nil { logrus.WithError(err).Panicf("failed to connect to device db") |