1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00
This commit is contained in:
RaidMax
2019-10-08 17:02:22 -05:00
8 changed files with 109 additions and 5 deletions

View File

@ -112,6 +112,9 @@ namespace WebfrontCore
app.UseAuthorization();
app.UseCors("AllowAll");
// prevents banned/demoted users from keeping their claims
app.UseMiddleware<ClaimsPermissionRemoval>(Program.Manager);
app.UseRouting();
app.UseEndpoints(endpoints =>
{