seedproject-web/api
Carlos Arias b967419717 Phase 1: admin login page + secret-link token auth
- /admin login page (public, noindex): password form + signed-in panel that
  activates the in-page console. Verified in-browser: login -> panel -> the
  astroagent handle appears on other pages.
- Secret-link login: visit /admin/<token> to sign in without a password.
  adminauth token() validates a bcrypt-hashed token, sets the session, 302s to
  /admin. nginx routes the token path to PHP. set-admin-token.php generates it.
- Password login kept as a fallback.

Verified: token link -> session -> console access; bad token -> /admin?e=1.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DoFYZY9gkGPNDqZ7NuEa9a
2026-07-23 22:15:50 +00:00
..
.memory chore: scaffold SeedProject base (Phase 1) 2026-07-04 22:53:10 +00:00
app Baseline: full site build (brand, pages, DB, agent-editable) 2026-07-23 20:21:28 +00:00
cli Phase 1: admin login page + secret-link token auth 2026-07-23 22:15:50 +00:00
commands feat(api): Foundation — installer, migrations, two-tier auth, health round-trip 2026-07-04 23:23:51 +00:00
core chore: scaffold SeedProject base (Phase 1) 2026-07-04 22:53:10 +00:00
db Phase 1: admin login page + secret-link token auth 2026-07-23 22:15:50 +00:00
install fix: repair the fresh-clone flow — track api/public + app/public, fix installer schema 2026-07-05 00:15:55 +00:00
public Phase 1: admin login page + secret-link token auth 2026-07-23 22:15:50 +00:00
system Phase 1: admin login page + secret-link token auth 2026-07-23 22:15:50 +00:00
templates/emails feat: user auth (email + Google OAuth), Mailer, and CLI bridges 2026-07-11 09:14:25 -05:00
.htaccess chore: scaffold SeedProject base (Phase 1) 2026-07-04 22:53:10 +00:00
composer.json feat: user auth (email + Google OAuth), Mailer, and CLI bridges 2026-07-11 09:14:25 -05:00
composer.lock chore: scaffold SeedProject base (Phase 1) 2026-07-04 22:53:10 +00:00
console feat(api): Foundation — installer, migrations, two-tier auth, health round-trip 2026-07-04 23:23:51 +00:00
index.php chore: scaffold SeedProject base (Phase 1) 2026-07-04 22:53:10 +00:00
manifest.json chore: scaffold SeedProject base (Phase 1) 2026-07-04 22:53:10 +00:00
sw.js chore: scaffold SeedProject base (Phase 1) 2026-07-04 22:53:10 +00:00