Explorar el Código

修复任意用户密码重置漏洞

tags/6.0.3
tianya hace 3 años
padre
commit
5bf7f09f3c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/member/resetpassword.php

+ 1
- 1
src/member/resetpassword.php Ver fichero

@@ -68,7 +68,7 @@ if ($dopost == "") {
if (empty($safeanswer)) $safeanswer = '';
if ($row['safequestion'] == $safequestion && $row['safeanswer'] == $safeanswer) {
if ($row['safequestion'] === $safequestion && $row['safeanswer'] === $safeanswer) {
sn($mid, $row['userid'], $row['email'], 'N');
exit();
} else {


Cargando…
Cancelar
Guardar