ISSUE:
Admin panel at /admin returned JSON instead of EJS template
User authenticated successfully but saw raw data
FIX:
Changed res.json() to res.render('admin/dashboard')
Added user, mappings, csrfToken to template context
FILES MODIFIED:
- services/arbiter-3.0/src/routes/admin.js (5 lines changed)
TESTING:
Visit /admin after Discord OAuth, should show HTML UI
Signed-off-by: Claude (Chronicler #57) <claude@firefrostgaming.com>