Reject Registration

Hi,

I’m just curious whether it’s possible or not to reject registration and tell client when some conditions met? For Example, I don’t want my users to have letter a in their username. Therefore, when someone register with “alex”, the plugin reject it before it reaches the server. (because server will automatically accept it and creates the user).

Thanks.