mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-28 05:19:18 +01:00
add LastLoggedIn migration, disallow secondary connections
This commit is contained in:
parent
130350b71b
commit
f8ecd3965d
8 changed files with 249 additions and 14 deletions
|
|
@ -41,7 +41,7 @@ namespace MareSynchronosServer
|
|||
|
||||
services.AddSingleton<SystemInfoService, SystemInfoService>();
|
||||
services.AddSingleton<IUserIdProvider, IdBasedUserIdProvider>();
|
||||
services.AddScoped(_ => Configuration);
|
||||
services.AddTransient(_ => Configuration);
|
||||
|
||||
services.AddDbContextPool<MareDbContext>(options =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue