mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 11:21:47 -05:00
I'm A FUCKING DERP
This commit is contained in:
parent
cc69efa789
commit
3b72afec58
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ protected void Application_BeginRequest(object sender, EventArgs e)
|
||||||
mod = act.GetCustomAttributes(false).FirstOrDefault(x => x is RequiresModerator);
|
mod = act.GetCustomAttributes(false).FirstOrDefault(x => x is RequiresModerator);
|
||||||
dev = act.GetCustomAttributes(false).FirstOrDefault(x => x is RequiresDeveloper);
|
dev = act.GetCustomAttributes(false).FirstOrDefault(x => x is RequiresDeveloper);
|
||||||
|
|
||||||
bool? fail2 = false;
|
bool? fail2 = true;
|
||||||
|
|
||||||
if (adm != null)
|
if (adm != null)
|
||||||
fail2 = User.Identity?.IsAdmin();
|
fail2 = User.Identity?.IsAdmin();
|
||||||
|
|
Loading…
Reference in a new issue