From b6f47323da0f0052680d337fe49ffdfe12692ad6 Mon Sep 17 00:00:00 2001 From: maxheckel Date: Thu, 14 Sep 2023 09:08:33 -0400 Subject: [PATCH] Turn off autocomplete for csrf_field (#48371) * Turn off autocomplete * Update helpers.php --------- Co-authored-by: Max Heckel Co-authored-by: Taylor Otwell --- src/Illuminate/Foundation/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Foundation/helpers.php b/src/Illuminate/Foundation/helpers.php index b3b08ed692db..e4c15edca725 100644 --- a/src/Illuminate/Foundation/helpers.php +++ b/src/Illuminate/Foundation/helpers.php @@ -323,7 +323,7 @@ function cookie($name = null, $value = null, $minutes = 0, $path = null, $domain */ function csrf_field() { - return new HtmlString(''); + return new HtmlString(''); } }