fix: add missing exit statements in integration callback and OAuth files

This commit is contained in:
2026-09-08 14:33:02 +02:00
parent ce0dc64e76
commit bf83949396
6 changed files with 6 additions and 0 deletions
+1
View File
@@ -95,3 +95,4 @@ $saveStmt->execute([$user['id'], $accessToken, $refreshToken, json_encode($newSe
// 8. Succesvol terugkeren naar de Integraties Hub
header('Location: /integrations.php?success=' . urlencode("Microsoft Outlook succesvol gekoppeld als {$accountEmail}!"));
exit;
+1
View File
@@ -40,3 +40,4 @@ $_SESSION['ms_oauth_user_id'] = $user['id'];
$authUrl = microsoft_get_auth_url($clientId, $redirectUri, $tenantId, $state);
header("Location: {$authUrl}");
exit;