Skip to content

Commit df309c9

Browse files
author
Fredrick Peter
committed
Hash update
1 parent 822ccce commit df309c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Hash.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Hash
2828
* @return string
2929
* - The encrypted password.
3030
*/
31-
static public function hash($password)
31+
static public function make($password)
3232
{
3333
// Check if the password exceeds the maximum length
3434
if (mb_strlen($password, 'UTF-8') > 72) {

helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function PDF()
4747
*/
4848
function bcrypt($password)
4949
{
50-
return Hash::hash($password);
50+
return Hash::make($password);
5151
}
5252
}
5353

0 commit comments

Comments
 (0)