diff --git a/system/pages/account/manage.php b/system/pages/account/manage.php index c4a8402a5b..615ffdc71f 100644 --- a/system/pages/account/manage.php +++ b/system/pages/account/manage.php @@ -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;