The SendEmailAction
was merged with the RequestResetAction
and the nucleos_user_resetting_send_email
route was
removed.
The action was refactored to have one common page to update all security information. This bundle only allow password changes, but it could be extended to allow more changes (e.g. e-mail).
- Class
ChangePasswordAction
is renamed toUpdateSecurityAction
and corresponding templates too - Class
ChangePasswordFormType
is renamed toUpdateSecurityFormType
and uses theUserInterface
as model class - Constant
NucleosUserEvents::CHANGE_PASSWORD_COMPLETED
is renamed toNucleosUserEvents::UPDATE_SECURITY_COMPLETED
- Route
nucleos_user_change_password
is renamed tonucleos_user_update_security
The fields usernameCanonical
and emailCanonical
are removed from the User
class in favor of using lowercase
username and e-mail by default. You need to check your database on your own in order to have no duplicates after the
update.
Because of the feature removal, the following classes were removed:
Nucleos\UserBundle\Canonicalizer
Nucleos\UserBundle\CanonicalFieldsUpdater
Nucleos\UserBundle\SimpleCanonicalizer
Nucleos\UserBundle\UtilCanonicalFieldsUpdater
All the deprecated code introduced on 2.x is removed on 3.0.