mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
Merge
This commit is contained in:
@ -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 =>
|
||||
{
|
||||
|
Reference in New Issue
Block a user