As I see the module use the email to load user id which will break the submission in case the user change his email address, I found a better way to load user without the need of loading user by email.

$user = $form_state->getFormObject()->getEntity();

I created a patch and I will upload it.

Comments

m.abdulqader created an issue. See original summary.

m.abdulqader’s picture

Status: Active » Needs work
m.abdulqader’s picture

The attached patch will solve the problem.

m.abdulqader’s picture

Status: Needs work » Needs review
m.abdulqader’s picture

Remove extra space.