Last modified: 2007-06-05 13:31:08 UTC
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.
This does not appear to be an API bug. Changing component to unknown.
Fixed in r22758.