diff --git a/MediaBrowser.ServerApplication/ApplicationHost.cs b/MediaBrowser.ServerApplication/ApplicationHost.cs index 2381d3581a..2ee8a0577b 100644 --- a/MediaBrowser.ServerApplication/ApplicationHost.cs +++ b/MediaBrowser.ServerApplication/ApplicationHost.cs @@ -318,7 +318,11 @@ namespace MediaBrowser.ServerApplication var connection = await ConnectToDb(dbFile).ConfigureAwait(false); - return new SqliteUserRepository(connection, ApplicationPaths, JsonSerializer, LogManager); + var repo = new SqliteUserRepository(connection, ApplicationPaths, JsonSerializer, LogManager); + + repo.Initialize(); + + return repo; } ///