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 67a0e8d commit 5f68c1bCopy full SHA for 5f68c1b
web/reset/index.php
@@ -48,7 +48,7 @@
48
if ( $return_var == 0 ) {
49
$data = json_decode(implode('', $output), true);
50
$rkey = $data[$user]['RKEY'];
51
- if ($rkey == $_POST['code']) {
+ if (hash_equals($rkey, $POST[‘code’])) {
52
$v_password = tempnam("/tmp","vst");
53
$fp = fopen($v_password, "w");
54
fwrite($fp, $_POST['password']."\n");
0 commit comments