I created a Pre-Registration hook.
I have a rule that refuse de user creation (duplicated user).
In case of error, I use the following code to reject the creation :
cb(users.length + ’ account(s) already exists ’ null, context);
But the user doesn’t receive any explaination about the failure :
How can I explain to the user why his account isn’t created ?