Skip to content

Commit

Permalink
Correct typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
perioner committed May 19, 2021
1 parent 6d25e1d commit 52c3b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/modules/user/models/User_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function authentication($username, $password)
case 'hex':
$validate = (strtoupper($accgame->v) === $this->wowauth->game_hash($accgame->username, $password, 'hex', $accgame->s));
break;
case 'old_trinity':
case 'old-trinity':
$validate = hash_equals(strtoupper($accgame->sha_pass_hash), $this->wowauth->game_hash($accgame->username, $password));
break;
}
Expand Down

0 comments on commit 52c3b36

Please sign in to comment.