Hi Alejandro,
This is the expected behavior. You can use passport's [email account linking](https://gluu.org/docs/ce/3.1.5/authn-guide/passport/#email-account-linking) feature for your case.
After submitting the form, wait 1 min for the configuration to take effect.