Disable register function

Hello,



Is it possible to disable the register function. So i can use it for a pre-defined group of customers and reduce the spam.



txs