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:
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user