logo and architecture fixes

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-09 14:28:44 +00:00
parent 4dd129b863
commit 5fb3687854
16 changed files with 651 additions and 631 deletions

View File

@@ -1,10 +1,26 @@
# Tenancy Change Log - December 9, 2024
# Tenancy Change Log - December 9, 2025
## Summary
This document tracks all changes made to the multi-tenancy system during the current staging session and the last 2 commits (4d13a570 and 72d0b6b0).
---
## 🔥 Critical Fixes - December 9, 2025
### Fixed
- User swapping/logout issue - Redis sessions, no-cache auth backend, session integrity checks
- useNavigate/useLocation HMR errors - Single Suspense boundary for Routes
### Added
- Custom `NoCacheModelBackend` authentication backend to prevent user object caching
- Session integrity validation in middleware (stores/verifies account_id and user_id per request)
### Changed
- Session storage from database to Redis cache (`SESSION_ENGINE = 'django.contrib.sessions.backends.cache'`)
- React Router Suspense from per-route to single top-level boundary
---
## 🔧 Recent Session Changes (Uncommitted)
### 1. Authentication & Signup Flow