feature: use md5

This commit is contained in:
antv
2026-07-06 14:00:07 +07:00
parent d8f0e48bf3
commit b1beed4ae6
4 changed files with 71 additions and 76 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class UserService implements UserServiceInterface
public function updatePassword(User $user, string $newPassword): void
{
$user->pass = Hash::make($newPassword);
$user->pass = md5($newPassword);
$user->first_login = User::FIRST_LOGIN_FALSE;
$user->save();
}