Issue
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');
}
Solution
Problem solved, I tried this commands and it worked:
php artisan cache:clear,
php artisan config:clear,
Answered By - Omar Lamin Answer Checked By - David Goodson (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.