Debug v18

This commit is contained in:
Laurent Destailleur
2023-06-05 15:20:59 +02:00
parent bd4e5c3675
commit 23850c0241
6 changed files with 35 additions and 3 deletions

View File

@@ -139,6 +139,10 @@ if (GETPOST('code')) { // We are coming from oauth provider page
$backtourl = $_SESSION["backtourlsavedbeforeoauthjump"];
unset($_SESSION["backtourlsavedbeforeoauthjump"]);
if (empty($backtourl)) {
$backtourl = DOL_URL_ROOT.'/';
}
header('Location: '.$backtourl);
exit();
} catch (Exception $e) {