From 3bc9c826bdf8e1465f065474cd96c3d1ba13527c Mon Sep 17 00:00:00 2001 From: yosus <5551430+yosus@users.noreply.github.com> Date: Wed, 26 Jun 2024 16:31:05 +0800 Subject: [PATCH] Update authentication.rst Return null required. --- en/tutorials-and-examples/cms/authentication.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/en/tutorials-and-examples/cms/authentication.rst b/en/tutorials-and-examples/cms/authentication.rst index 5a99e695c8..1f584d4a92 100644 --- a/en/tutorials-and-examples/cms/authentication.rst +++ b/en/tutorials-and-examples/cms/authentication.rst @@ -61,6 +61,7 @@ add the following:: if (strlen($password) > 0) { return (new DefaultPasswordHasher())->hash($password); } + return null; } }