Fixed UserRepo::setupBaseUser doesn't setup dependant entities as expected

Xon

Well-known member
Affected version
2.3.0
setupBaseUser calls getRelationOrDefault on a number of critical user relations. However, it doesn't call hydrateRelation on those entities User relationship.

My use case is making Auth::setPassword have additional complexity rules such as forbidding public or easily obtainable information as part of the password on registration.

A user's email address should not be allowed as their password :(
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.3.1).

Change log:
Hydrate user relations when setting up base user
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom