M3 Tenant-Aufloesung per App-Session ergaenzen

- Mandantenauswahl fuer Benutzer mit mehreren Tenants bauen
- feste Tenant-Domains ohne Wildcard-Abhaengigkeit vorbereiten
- Login, Backfill, Smoke-Checks und M3-Dokumentation aktualisieren
This commit is contained in:
2026-07-13 20:04:20 +02:00
parent 8ab4a8a9bb
commit 9f2e1bdfb1
10 changed files with 475 additions and 28 deletions
+6
View File
@@ -17,6 +17,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$tenantSlug
);
if ($result['ok'] && !empty($result['needs_tenant_selection'])) {
saas_start_pending_tenant_selection((int)$result['user_id']);
header('Location: mandant-auswahl.php');
exit;
}
if ($result['ok']) {
saas_session_login($result['identity']);
header('Location: konto.php');