Skip to content

Commit

Permalink
fix: apply a security fix due to Type Confusion and potential authent…
Browse files Browse the repository at this point in the history
…ication bypass
  • Loading branch information
lirantal committed Apr 1, 2022
1 parent eae94db commit e8ec1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daloradius-users/pref-auth-password-edit.php
Expand Up @@ -36,7 +36,7 @@
$newPassword = $_POST['newpassword'];
$verifyPassword = $_POST['verifypassword'];

if ($newPassword == $verifyPassword) {
if ($newPassword === $verifyPassword) {

if (trim($currentPassword) != "") {

Expand Down

0 comments on commit e8ec1be

Please sign in to comment.