refactor: implement 2FA stubs and remove dead BoostPurchase component #35

Open
Charon wants to merge 1 commit from feat/implement-stubs into dev

1 commit

Author SHA1 Message Date
Claude
b1abc8d639
refactor: implement 2FA stubs and remove dead BoostPurchase component
Replace the five 2FA stub methods in Settings with real implementations
that delegate to the TwoFactorAuthenticatable trait from php-tenant.
The 2FA tab now auto-enables when the User model uses the trait, and
handles the full lifecycle: enable, verify, confirm, view/regenerate
recovery codes, and disable.

Remove the orphaned BoostPurchase Livewire component and its blade
template. The /boosts route already redirects to the account usage
page's boosts tab, making this component dead code.

Update language strings: remove the old "upgrading" stub message and
add proper 2FA success/error messages.

Fixes #15
Fixes #16

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 16:44:20 +00:00