Skip to content

Commit

Permalink
killing the stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
starstryder committed Feb 17, 2020
1 parent ee7e9a7 commit b199570
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions csb-accounts/auth-login.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,6 @@ function rescueUser ($db, $using, $value) {
$token = substr(str_shuffle($chars), 0, 12);
$hashedToken = password_hash($token, PASSWORD_DEFAULT);

echo $hashedToken;

$query = "INSERT INTO password_resets (email, token) VALUES ('$to', '$hashedToken')";
$db->runQuery($query);

Expand Down

0 comments on commit b199570

Please sign in to comment.