18

I'm getting a couple of user registrations on my personal website (presumably from bots or people trying to hack my site). How do I disable new user registration entirely?

2 Answers 2

33

Change the setting 'Who can register accounts?' to 'Administrators only' at http://yoursite.com/admin/config/people/accounts

2
  • 1
    That was so obvious... I must have been brain dead when I asked this! Thanks Nov 27, 2011 at 14:00
  • 1
    If automated, use drush: drush vset user_register 0
    – user18099
    Aug 6, 2017 at 12:24
3

Go to admin/config/people/accounts and check the box that says Administrators only under Who can register accounts?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.