mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:35:42 +00:00
Implements a user-facing account management portal at accounts.eagle0.net that allows non-admin users to view their account information and delete their account. The same admin server backend handles both admin.eagle0.net (admin-only) and accounts.eagle0.net (user self-service), distinguished by Host header. Changes: - nginx: Add server blocks for accounts.eagle0.net - admin_server: Add host detection (isAccountsHost/isAdminHost) - admin_server: Add requireUser auth wrapper (auth without admin check) - admin_server: Add /my-account, /my-account/delete, /goodbye routes - admin_server: Modify login flow to not require admin for accounts portal - templates: Add my_account_layout.html, my_account.html, goodbye.html - templates: Update login.html to show different text per portal Post-deploy manual steps required: 1. DNS: Add A record for accounts.eagle0.net -> droplet IP 2. SSL: Run certbot on droplet for accounts.eagle0.net certificate Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>