Skip to content

A free open source IT asset/license management system

Fixed number to 1 (for minutes)

snipe0674ef5a3da6
diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php
index 1a3d120897..e886eb669a 100644
--- a/app/Http/Controllers/Auth/ForgotPasswordController.php
+++ b/app/Http/Controllers/Auth/ForgotPasswordController.php
@@ -29,7 +29,7 @@ class ForgotPasswordController extends Controller
public function __construct()
{
$this->middleware('guest');
- $this->middleware('throttle:5,60', ['except' => 'showLinkRequestForm']);
+ $this->middleware('throttle:1,1', ['except' => 'showLinkRequestForm']);
}
/**
@@ -72,7 +72,7 @@ class ForgotPasswordController extends Controller
* Once we have attempted to send the link, we will examine the response
* then see the message we need to show to the user. Finally, we'll send out a proper response.
*/
-
+
$response = null;
try {