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');
}
CodePudding user response:
Problem solved, I tried this commands and it worked:
php artisan cache:clear,
php artisan config:clear,