Answer the question
In order to leave comments, you need to log in
Why does a site visitor on Bitrix, after several page updates or site transitions, get authorization as an admin?
There are two access groups, admin and all users. After several updates of one page or transitions to other pages, authorization occurs as an admin, an admin panel appears under his login.
Answer the question
In order to leave comments, you need to log in
Perhaps somewhere in the code there is a method that forcibly authorizes the user with ID1.
Something like:
<?
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
global $USER;
$USER->Authorize(1);
LocalRedirect(“/bitrix/admin/”);
?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question