[GH-ISSUE #59] 2FA with self hosting gives a Error 500 #661

Closed
opened 2026-03-14 10:00:07 +03:00 by kerem · 1 comment
Owner

Originally created by @linuxcontainersio on GitHub (Aug 18, 2020).
Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/59

[2020-08-17 14:44:57] production.ERROR: Target class [App\Http\Controllers\TwoFactorAuthController] does not exist. {"exception":"[object] (Illuminate\Contracts\Container\BindingResolutionException(code: 0): Target class [App\Http\Controllers\TwoFactorAuthController] does not exist. at /var/www/anonaddy/vendor/laravel/framework/src/Illuminate/Container/Container.php:811)

It would seem to need to reference App\Http\Controllers\Auth\TwoFactorAuthController as that is where it is located

Originally created by @linuxcontainersio on GitHub (Aug 18, 2020). Original GitHub issue: https://github.com/anonaddy/anonaddy/issues/59 [2020-08-17 14:44:57] production.ERROR: Target class [App\Http\Controllers\TwoFactorAuthController] does not exist. {"exception":"[object] (Illuminate\\Contracts\\Container\\BindingResolutionException(code: 0): Target class [App\\Http\\Controllers\\TwoFactorAuthController] does not exist. at /var/www/anonaddy/vendor/laravel/framework/src/Illuminate/Container/Container.php:811) It would seem to need to reference App\Http\Controllers\Auth\TwoFactorAuthController as that is where it is located
kerem closed this issue 2026-03-14 10:00:12 +03:00
Author
Owner

@willbrowningme commented on GitHub (Aug 18, 2020):

Thanks for bringing this to my attention. It was caused because of the web routes missing Auth\ before TwoFactorAuthController it has been fixed in v0.2.9

<!-- gh-comment-id:675474984 --> @willbrowningme commented on GitHub (Aug 18, 2020): Thanks for bringing this to my attention. It was caused because of the web routes missing `Auth\` before `TwoFactorAuthController` it has been fixed in v0.2.9
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/anonaddy#661
No description provided.