mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
ensure that demoted clients are logged out from the webfront
This commit is contained in:
@ -113,6 +113,9 @@ namespace WebfrontCore
|
||||
app.UseAuthentication();
|
||||
app.UseCors("AllowAll");
|
||||
|
||||
// prevents banned/demoted users from keeping their claims
|
||||
app.UseMiddleware<ClaimsPermissionRemoval>(Program.Manager);
|
||||
|
||||
app.UseMvc(routes =>
|
||||
{
|
||||
routes.MapRoute(
|
||||
|
Reference in New Issue
Block a user