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

@ -5,6 +5,7 @@
- Fix #378: Add module attribute 'disableIpLogging' (jkmssoft)
- Enh #387: Added Persian translation (hadi-aj)
- Fix #384: Delete flash messages after consuming (cgsmith)
- Fix #381: Renamed events in `UserEvent` to avoid conflicts with events in `FormEvent` (Slayvin)
## 1.5.1 April 5, 2020
- Fix #370: Extending view fix (effsoft)

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';