Skip to content

Commit

Permalink
Remove unused service in VerificationController
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpar06 committed Oct 16, 2023
1 parent 8b5ba3c commit f06a332
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/Http/Controllers/Auth/VerificationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace App\Http\Controllers\Auth;

use App\Models\User;
use App\Services\UserService;
use Illuminate\Auth\Access\AuthorizationException;
use Illuminate\Auth\Events\Verified;
use Illuminate\Foundation\Auth\VerifiesEmails;
Expand Down Expand Up @@ -37,9 +36,7 @@ class VerificationController extends Controller
*
* @return void
*/
public function __construct(
private readonly UserService $userSvc
) {
public function __construct() {
$this->middleware('signed')->only('verify');
$this->middleware('throttle:6,1')->only('verify', 'resend');
}
Expand Down

0 comments on commit f06a332

Please sign in to comment.