From 7ab96f15d2e1789bdb5be7b27bea1037e5d8a468 Mon Sep 17 00:00:00 2001 From: TheFlow Date: Mon, 20 Oct 2025 21:00:42 +1300 Subject: [PATCH] feat(admin): add password reset utility and login instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SUMMARY: Created admin password reset utility and comprehensive login instructions to help user access admin portal. NEW FILES: - scripts/reset-admin-password.js: Automated password reset for production - ADMIN_LOGIN_INSTRUCTIONS.md: Complete admin access documentation PASSWORD RESET UTILITY: - Resets admin@agenticgovernance.digital password - Uses bcrypt for secure password hashing - Works on both local and production environments - Usage: node scripts/reset-admin-password.js 'NewPassword' CURRENT ADMIN CREDENTIALS (Production): - Email: admin@agenticgovernance.digital - Password: TractatusDev2025 - Login URL: https://agenticgovernance.digital/admin/login.html VERIFICATION COMPLETED: - āœ… Admin user exists in production database - āœ… Password correctly hashed with bcrypt (60 chars, prefix) - āœ… Password verification test passed (bcrypt.compare returns true) - āœ… User active and has admin role ADMIN DASHBOARD ACCESS: Once logged in, provides access to 9 admin tools: - Blog curation with AI-powered drafting - Newsletter management - Media triage - Case moderation - Rule manager - Project manager - Hooks dashboard - Audit analytics - CLAUDE.md migrator TROUBLESHOOTING: - Rate limit: 5 login attempts per 15 minutes - Alternative account: admin@tractatus.local (may need reset) - Server logs: journalctl -u tractatus -f - Browser console for client-side errors šŸ¤– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude