From 4f6d9ba5b6b690f3b7b30c20926463d41117017a Mon Sep 17 00:00:00 2001 From: George Petculescu Date: Fri, 2 Apr 2021 00:56:51 +0300 Subject: Rewording log_message() message --- system/core/Input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system') diff --git a/system/core/Input.php b/system/core/Input.php index a2cc23936..fbe9c59b0 100644 --- a/system/core/Input.php +++ b/system/core/Input.php @@ -362,7 +362,7 @@ class CI_Input { if ($samesite === 'None' && ! $secure) { - log_message('error', $name.' is a non-secure cookie sent with SameSite=None. It can be discarded by the browser.'); + log_message('error', $name.' cookie sent with SameSite=None, but without Secure attribute.'); } $cookie_header = 'Set-Cookie: '.$prefix.$name.'='.rawurlencode($value); -- cgit v1.2.3-24-g4f1b