mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 02:16:56 +02:00
Make hash() public for future use
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user