Skip to content

Commit

Permalink
Fix account manage redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Dec 9, 2023
1 parent da77ec2 commit a9fb5df
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions system/pages/account/manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@
return;
}

if(isset($_REQUEST['redirect']))
{
$redirect = urldecode($_REQUEST['redirect']);

$twig->display('account.redirect.html.twig', array(
'redirect' => $redirect
));
return;
}

$groups = new OTS_Groups_List();

$freePremium = isset($config['lua']['freePremium']) && getBoolean($config['lua']['freePremium']) || $account_logged->getPremDays() == OTS_Account::GRATIS_PREMIUM_DAYS;
Expand Down

0 comments on commit a9fb5df

Please sign in to comment.