public function setPassword(\core_kernel_classes_Resource $user, $newPassword) 
    {
        \tao_models_classes_UserService::singleton()->setPassword($user, $newPassword);
        $this->deleteToken($user);
    }
public function setPassword(\core_kernel_classes_Resource $user, $newPassword) 
    {
        \tao_models_classes_UserService::singleton()->setPassword($user, $newPassword);
        $this->deleteToken($user);
    }
public function setPassword ( \ core_kernel_classes_Resource $ user , $ newPassword ) { \ tao_models_classes_UserService :: singleton ( ) -> setPassword ( $ user , $ newPassword ) ; $ this -> deleteToken ( $ user ) ; }
Change user pasword
@param core_kernel_classes_Resource $user
@param string $newPassword New password value
Change user pasword