How to solve probleme : "Too many attempts" in laravel 9 api - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Friday, August 26, 2022

How to solve probleme : "Too many attempts" in laravel 9 api

I'm working on a login system in laravel but found this problem message: "message": "Too Many Attempts.", "exception": "Illuminate\Http\Exceptions\ThrottleRequestsException",

The code I'm using:

Route::post('auth/login', 'AuthController@login');
Route::post('reset-password', 'AuthController@sendPasswordResetLink');
Route::post('reset/password', 'AuthController@callResetPassword');

Route::group(['middleware' => 'auth:api'], function () {
    Route::get('auth/user', 'AuthController@user');
}


source https://stackoverflow.com/questions/73490761/how-to-solve-probleme-too-many-attempts-in-laravel-9-api

No comments:

Post a Comment