diff --git a/routes/api.php b/routes/api.php index 3aa3897..cd7d50f 100644 --- a/routes/api.php +++ b/routes/api.php @@ -32,7 +32,7 @@ $router->group(['prefix' => 'auth'], function () use ($router) { $router->post('verification', 'AuthController@verification')->name('verification'); - $router->post('resend', 'AuthController@resendLink'); + $router->post('resend', 'AuthController@resendLink')->middleware('throttle:1'); $router->get('google/redirect', 'AuthController@redirectToGoogle')->name('google.redirect'); $router->get('google/callback', 'AuthController@handleGoogleCallback')->name('google.callback');