We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b625df commit 12cf94dCopy full SHA for 12cf94d
side/forgetpass.php
@@ -30,6 +30,7 @@
30
*/
31
32
include_once("../controller/db_config.php");
33
+include_once("../controller/hash_helper.php");
34
include_once("../controller/response.php");
35
include_once("../controller/tor_detection.php");
36
include_once("../controller/validator.php");
@@ -89,7 +90,7 @@
89
90
freeDBQuery(
91
mysqli_query(
92
$db_conn,
- "UPDATE accounts SET password=\"".md5($password).
93
+ "UPDATE accounts SET password=\"".hashString($password).
94
"\" WHERE email=\"".$email."\""
95
)
96
);
0 commit comments