Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
zh7314 committed Sep 27, 2023
1 parent fd9c3b8 commit 1c8b5fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion laravel/app/Services/Admin/AdminService.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public static function add(array $where = [])
isset($where['login_ip']) && $admin->login_ip = $where['login_ip'];
isset($where['mobile']) && $admin->mobile = $where['mobile'];
isset($where['name']) && $admin->name = $where['name'];
isset($where['password']) && $admin->password = $where['password'];
isset($where['password']) && $admin->password = md5(md5($where['password']));
isset($where['real_name']) && $admin->real_name = $where['real_name'];
isset($where['salt']) && $admin->salt = $where['salt'];
isset($where['sex']) && $admin->sex = $where['sex'];
Expand Down

0 comments on commit 1c8b5fd

Please sign in to comment.