10

I know this is a simple question, but I've searched for way too long.

I just want to remove the user login box so that all accesses to the site, apart administrator access, will be anonymous. We don't want users to create accounts on the system.

10

You may disable block on admin/structure/block page, but users can create new accounts from /user page. It's best practice disable creating new accounts by visitors.

  • For drupal 7 go to configuration -> people -> account settings -> registration and cancellation and set "Who can register accounts?" -> "Administrators only".
  • For drupal 6 go to administer --> user management --> user settings and set "Public registrations" --> "Only site administrators can create new user accounts."
|improve this answer|||||
  • This sounds like the right approach but I tried it and the user login block still shows up when I load the site. The changes were definitely saved. Also, if I go into admin/structure/block there is nothing visible called "user login". Any ideas? – user933 Apr 10 '11 at 17:05
  • 1
    Flush all caches and try load site as anonymous user. – ya.teck Apr 10 '11 at 17:13
3

Blocks can be enabled or disabled at the blocks menu item located under the structure menu item. (admin/structure/block)

|improve this answer|||||
0

In Drupal 7, my login controls were not adjusted by visiting the "Blocks" page.

Instead, visit your theme's settings page "admin/appearance/settings/[theme name]" and disable the secondary menu

enter image description here

|improve this answer|||||

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.