fix author url

add many ownersid
This commit is contained in:
Дмитрий Шиманский
2023-12-22 23:54:41 +03:00
parent f79e10f148
commit 782dea8c9d
7 changed files with 23 additions and 22 deletions

View File

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