Files
nextcloud-analytics/analyticshub
WLTBAgent ba50dc9218 Fix: Simplify admin controller and routes for 'Access forbidden' error
- Simplified AdminController to minimal version
  - Removed complex dependency injection
  - Added @NoAdminRequired and @NoCSRFRequired annotations
  - Minimal constructor with just appName
- Simplified routes.php
  - Removed requirements array
  - Clean route definitions
- Fixed admin template
  - Kept same UI but removed non-standard calls
  - Self-contained CSS and simple form
- This addresses 'Access forbidden' error when accessing admin page

The issue was likely caused by:
1. Missing annotations on admin controller
2. Complex DI not working properly
3. Route configuration issues

Simplified version should resolve access issues.
2026-02-13 19:31:49 +00:00
..
2026-02-13 18:28:34 +00:00