fix
This commit is contained in:
parent
91a85dd344
commit
4a7b75d2d1
@ -162,7 +162,7 @@ class AccountController extends Base
|
||||
}
|
||||
}
|
||||
if (isset($update_data['password'])) {
|
||||
$update_data['password'] = Util::passwordHash($update_data['password'], );
|
||||
$update_data['password'] = Util::passwordHash($update_data['password']);
|
||||
}
|
||||
Admin::where('id', admin_id())->update($update_data);
|
||||
return $this->json(0);
|
||||
|
Loading…
Reference in New Issue
Block a user