0 ? saas_identity_for_user_tenant($pdo, $userId, $tenantId) : null; if ($identity === null) { $errors[] = 'Dieser Mandant ist für dein Konto nicht verfügbar.'; } else { saas_session_login($identity); header('Location: index.php'); exit; } } include 'header.php'; include 'headerline.php'; include 'nav.php'; ?>