feat(admin-profile): separate central system administration into admin.php and personal settings into profile.php

This commit is contained in:
2026-09-08 22:41:54 +02:00
parent ac5eecaf73
commit e0362da288
10 changed files with 1395 additions and 949 deletions
+2 -2
View File
@@ -17,9 +17,9 @@ $tenantId = !empty($_GET['tenant_id']) ? trim($_GET['tenant_id']) : $appConfig['
if (empty($clientId)) {
$err = ($user['role'] === 'ADMIN')
? 'Vul eerst de Application (Client) ID en het Client Secret in bij de Outlook instellingen om te koppelen met Microsoft 365.'
? 'Vul eerst de Application (Client) ID en het Client Secret in bij het Systeembeheer om te koppelen met Microsoft 365.'
: 'Microsoft 365 is nog niet geconfigureerd door de beheerder van uw organisatie. Vraag uw beheerder om de koppeling in te stellen.';
header('Location: /integrations.php?error=' . urlencode($err));
header('Location: /profile.php?error=' . urlencode($err));
exit;
}