A free open source IT asset/license management system
add note
spencerrlonggb45cf6124fa4
diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.phpindex 8e6ff46fde..c64df28075 100644--- a/app/Http/Controllers/Auth/ForgotPasswordController.php+++ b/app/Http/Controllers/Auth/ForgotPasswordController.php@@ -50,11 +50,12 @@ class ForgotPasswordController extends Controller*/public function sendResetLinkEmail(Request $request){-+ dump($request);/*** Let's set a max character count here to prevent potential* buffer overflow issues with attackers sending very large- * payloads through.+ * payloads through. The addition of the string rule prevents attackers+ * sending arrays through and causing 500s*/$request->validate(['username' => ['required', 'max:255', 'string'],