Deny access to the registration if it has been disabled

I just do not display the link in the login form.