Skip to content

Remove dead/broken Laravel auth scaffolding controllers - #25

Merged
matbrgz merged 1 commit into
masterfrom
fix/issue-23-dead-auth-controllers
Sep 10, 2026
Merged

matbrgz merged 1 commit into
masterfrom
fix/issue-23-dead-auth-controllers

Conversation

@matbrgz

@matbrgz matbrgz commented Sep 10, 2026

Copy link
Copy Markdown
Member

Closes #23.

Summary

  • Deletes app/Http/Controllers/Auth/{Login,Register,ForgotPassword,ResetPassword}Controller.php — leftover Laravel UI scaffolding that's been broken since the Helium/App namespace split (use Helium\Http\Controllers\Controller, but that class only exists as App\Http\Controllers\Controller), and LoginController also referenced Illuminate\Foundation\Auth\AuthenticatesUsers, a trait that isn't installed (used to ship with laravel/ui, not a dependency here).
  • None of this was reachable — the real /login, /register, /password/* routes are inline closures in routes/web.php. Nothing to migrate onto them, so deleting rather than fixing.

Test plan

Stacked on #24 (base branch chore/docker-deps-boca-review) since that's what has a working Docker/test setup to verify against.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

🤖 Generated with Claude Code

https://claude.ai/code/session_011u3o4QCgpcqH51edYyRPMn

Closes #23.

app/Http/Controllers/Auth/{Login,Register,ForgotPassword,ResetPassword}Controller.php
were leftover Laravel UI scaffolding that has been broken since the
Helium/App namespace split: they `use Helium\Http\Controllers\Controller`,
but the base controller only exists as `App\Http\Controllers\Controller`,
so `class_exists()` on any of them throws immediately. LoginController
additionally used `Illuminate\Foundation\Auth\AuthenticatesUsers`, a
trait that hasn't shipped with Laravel core in years (it lived in
laravel/ui, which isn't a dependency here).

None of this was reachable: the real /login, /register and /password/*
routes are inline closures in routes/web.php. Deleting rather than
fixing since there's nothing to migrate onto them.

Verified: full PHPUnit suite (386 tests) still passes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011u3o4QCgpcqH51edYyRPMn
@matbrgz
matbrgz changed the base branch from chore/docker-deps-boca-review to master September 10, 2026 11:23
@matbrgz
matbrgz merged commit 0a35ff8 into master Sep 10, 2026
@matbrgz
matbrgz deleted the fix/issue-23-dead-auth-controllers branch September 17, 2026 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dead/broken Laravel auth scaffolding controllers (wrong namespace, non-existent traits)

1 participant