CakeDC users plugin: redirect error after changePassword


My app is developed in CakePHP 3.x.

I use CakedDC Users plugin, and it works fine, except when the user wants to change his password, and click on Submit.

Let’s say we have a Profile ID = 52606b3f-c72d-4485-9c76-3b0f8

The Edit page has a url like this:


The changePassword page has a url like this:


When I click on Submit, it redirects to the profile page, but the ID is lost:


and I get this error message:

Record not found in table “users” with primary key [NULL]

It is clear that the error message is due to the ID which is not passed. Unfortunately I don’t find where and how to fix i in the plugint.

Any help please ?.