the current Community Edition code does not allow such an option.
You can easily disallow registrations altogether by commenting out thecode that handle the registration request on the PHP file.
Hope this helps.
Best regards,
Giulio Cesare