ooops, fix bool logic

This commit is contained in:
Дмитрий Шиманский
2023-12-23 00:02:19 +03:00
parent 0dc93500c8
commit 799e435afc
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@
@if (Request.Cookies["melon"] != null)
{
if (Startup.ownerId.FirstOrDefault(k => k.Equals(Request.Cookies["cable"])) != null)
if (Startup.ownerId.FirstOrDefault(k => k.Equals(Request.Cookies["cable"])) == null)
{
<h1 align="center">Вы не авторизованы! Сасни хуйца, олух</h1>
isAllowed = false;