PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, September 2, 2022

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

 September 02, 2022     authentication, laravel, php     No comments   

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 - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing