optimize code

This commit is contained in:
Дмитрий Шиманский
2023-12-23 00:10:58 +03:00
parent 01cd487a0d
commit 8c88eea1d7
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 == (Request.Cookies["cable"])) == null)
if (Startup.ownerId.FirstOrDefault(Request.Cookies["cable"]) == null)
{
<h1 align="center">Вы не авторизованы! Сасни хуйца, олух</h1>
isAllowed = false;