The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
< in Passwords
#11
Ah, we forgot an
Code:
else
!

Code:
else {
Code:
if (!$bypassSanitize) $postItem = self::sanitize($_POST[$item]);
Code:
else $postItem = $_POST[$item];
Code:
return $postItem;
Code:
}
as well as
Code:
else {
Code:
if (!$bypassSanitize) $getItem = self::sanitize($_GET[$item]);
Code:
else $getItem = $_GET[$item];
Code:
return $getItem;
Code:
}

I'd probably rearrange the logic to remove the
Code:
not
so its more straightforward but this should fix the other inputs.
  Reply
#12
Thanks Karsen!

For reference:

This will need to be changed on user_settings and admin_user if you deploy this.

Thank you!
  Reply
#13
Also on forgot_password_reset. I recently added Zxcvbn checks to passwords and had to make changes to all of the same pages.
  Reply
#14
Ahh, thank you!
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)