mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-25 17:22:22 -04:00
- UserId is now DEFAULT NULL instead of NOT NULL - FK changed to ON DELETE SET NULL (keep token if user deleted) - Removed auth guard from add() — no-auth mode stores NULL UserId - No-auth mode already treated as admin by _isAdmin(), so scoping works correctly (sees all tokens) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5.5 KiB
5.5 KiB