Renamed events in UserEvent

In order to avoid conflicts with events in `FormEvent` which have the same name.
This commit is contained in:
Sylvain
2021-01-06 11:40:14 +01:00
parent 4b4e370574
commit 55b4d5c31f
2 changed files with 3 additions and 2 deletions

View File

@ -23,8 +23,8 @@ class UserEvent extends Event
const EVENT_AFTER_CREATE = 'afterCreate';
const EVENT_BEFORE_DELETE = 'beforeDelete';
const EVENT_AFTER_DELETE = 'afterDelete';
const EVENT_BEFORE_REGISTER = 'beforeRegister';
const EVENT_AFTER_REGISTER = 'afterRegister';
const EVENT_BEFORE_REGISTER = 'beforeRegistration';
const EVENT_AFTER_REGISTER = 'afterRegistration';
const EVENT_BEFORE_ACCOUNT_UPDATE = 'beforeAccountUpdate';
const EVENT_AFTER_ACCOUNT_UPDATE = 'afterAccountUpdate';
const EVENT_BEFORE_PROFILE_UPDATE = 'beforeProfileUpdate';