Author: lowzl
Description:
At the moment, the AbortNewAccount hook is passed a User object with very little information - most importantly, the email address entered on the form is not passed to the hook. As such, it is difficult to implement policies such as, "valid, unique email address required" for user account creation.
Adding a $u->setEmail( $this->mEmail ); line before the hook is called should solve this problem.
Version: unspecified
Severity: enhancement