1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

auth cookie expires after 30 days

only check hit offset when distance > 3 meters
fix null reference on unauthorized user
fixed stats not showing on profile if anticheat disabled
server client history turns red server is unresponsive
This commit is contained in:
RaidMax
2018-04-04 23:38:45 -05:00
parent 6ab37a6b6e
commit aec8ec6256
29 changed files with 455 additions and 352 deletions

View File

@ -55,7 +55,8 @@ namespace WebfrontCore
AuthenticationScheme = CookieAuthenticationDefaults.AuthenticationScheme,
AutomaticAuthenticate = true,
AutomaticChallenge = true,
LoginPath = "/Account/Login/"
LoginPath = "/Account/Login/",
ExpireTimeSpan = TimeSpan.FromDays(30),
});
app.UseMvc(routes =>
@ -65,7 +66,6 @@ namespace WebfrontCore
template: "{controller=Home}/{action=Index}/{id?}");
});
//app.UseBasicAuthentication(Authentication.Basic.Generate());
}
}
}