-
Notifications
You must be signed in to change notification settings - Fork 319
Open
Description
Fortify Version
1.32.0
Laravel Version
12.39.0
PHP Version
8.4.14
Database Driver & Version
No response
Description
There are a handful of controllers that do not support overriding the response because the response is hard-coded in the controller.
ConfirmedPasswordStatusController::showEmailVerificationNotificationController::showin the$request->user()->hasVerifiedEmail()caseTwoFactorQrCodeController::showTwoFactorSecretKeyController::showRecoveryCodeController::index
Especially the TwoFactorSecretKeyController is a bit annoying as the response uses a camelCase property which does not match the snake_case of everything else in the API.
I am overriding the routes to make the endpoints more "RESTful" and resource-oriented and would like all successful responses to be wrapped in data.
Steps To Reproduce
Nothing to reproduce, this is an architectural issue.
Metadata
Metadata
Assignees
Labels
No labels