mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
rcon command formatted to work in linux
fixes to work with mono
This commit is contained in:
@ -17,7 +17,6 @@ namespace WebfrontCore
|
||||
.AddJsonFile("appsettings.json", optional: true, reloadOnChange: false)
|
||||
.AddEnvironmentVariables();
|
||||
|
||||
|
||||
Configuration = builder.Build();
|
||||
// fixme: this is really really terrible
|
||||
if (!SharedLibrary.Utilities.IsRunningOnMono())
|
||||
@ -63,11 +62,11 @@ namespace WebfrontCore
|
||||
|
||||
app.UseCookieAuthentication(new CookieAuthenticationOptions()
|
||||
{
|
||||
AccessDeniedPath = "/Account/Login/",
|
||||
AccessDeniedPath = "/",
|
||||
AuthenticationScheme = CookieAuthenticationDefaults.AuthenticationScheme,
|
||||
AutomaticAuthenticate = true,
|
||||
AutomaticChallenge = true,
|
||||
LoginPath = "/Account/Login/",
|
||||
LoginPath = "/",
|
||||
ExpireTimeSpan = TimeSpan.FromDays(30),
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user