try to fix using string[]

This commit is contained in:
Дмитрий Шиманский
2023-12-23 00:07:13 +03:00
parent 799e435afc
commit 01cd487a0d
3 changed files with 4 additions and 4 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 == (Request.Cookies["cable"])) == null)
{
<h1 align="center">Вы не авторизованы! Сасни хуйца, олух</h1>
isAllowed = false;