From b8f00243e6c18b0305e8ef1ba0e888043dc09b8b Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Mon, 23 Nov 2015 19:07:12 -0700 Subject: [PATCH] Make hash() public for future use --- system/src/Grav/Common/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Grav/Common/Utils.php b/system/src/Grav/Common/Utils.php index 515d05851..12c3d1026 100644 --- a/system/src/Grav/Common/Utils.php +++ b/system/src/Grav/Common/Utils.php @@ -474,7 +474,7 @@ abstract class Utils * * @return string hashed value of $data, cut to 10 characters */ - private static function hash($data) + public static function hash($data) { $hash = password_hash($data, PASSWORD_DEFAULT); return $hash;