How do I remove the user registration/login form?

Viewed 31031

My website doesn't need the user login functionality. Only some users need to post new nodes.

How do I remove the user registration and the login forms in Drupal?

5 Answers

You can use the Disable Login Page module to disable the login page completely for the general public. Only the webmaster or site admins who have access to a secret key/value pair will be able to access the login page. Everybody else will get access denied at user/login page. This will work in Drupal 8 and Drupal 9.

Related