How to Change a Password?

i use this code :

<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Models\Users; use backendless\services\persistence\BackendlessDataQuery; use backendless\Backendless; class PasswordControllerAPI extends Controller { public function doChangePassword(Request $request) { $user = new Users(); $user->setPassword($request->json()->get('PASSWORD')); try { Backendless::$Data->updateBulk( $user, "objectId='". $request->json()->get('OBJECTID') . "'" ); return json_encode("Success"); } catch(BackendlessException $e) { $response['Error'] = $e->getMessage(); return json_encode($response); } } } when i run it got this error : BackendlessException in RequestBuilder.php line 162: Backendless API return error: Bulk update is prohibited for system columns: password. Error code:1036 then how to change password in backendless , thank you for the answer regards, Wendy

already find the answer right after the bug fixed…

$user = Backendless::$UserService->login($request->json()->get(‘EMAIL’), $request->json()->get(‘PASSWORD’));
$user->setPassword(“text”);
Backendless::$UserService->update($user);
just close this topic