Skip to content

Commit 19e52f6

Browse files
committed
fix:修改密码bug
1 parent 2d1b619 commit 19e52f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Business/AuthBusiness/UserAuthBusiness.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public function changePassword(UserAuth $userAuth, $old_password, $new_password)
262262
return false;
263263
}
264264

265-
$userAuth->setPassword($this->encryptPassword($new_password, $userAuth->getSalt()));
265+
$userAuth->setPassword($new_password);
266266

267267
try {
268268
$this->em->flush();

0 commit comments

Comments
 (0)