Answer the question
In order to leave comments, you need to log in
How to redirect to the office after authorization in the aspro?
after authorization, the user remains on the same page, how to redirect him to the office
inserted the code into the init php did not transfer
<?php
AddEventHandler("main", "OnAfterUserAuthorize", array("CMainHandlers", "OnAfterUserAuthorizeHandler"));
class CMainHandlers
{
function OnAfterUserAuthorizeHandler($arUser)
{
$path='/cabinet/index.php'; //путь к тестам
LocalRedirect($path);
}
}
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question