Removing the Guest login button from the Moodle login page

disable-guest-login-1-first

When setting up the Moodle login for users, the Login as a Guest button displays by default. When the site is set to Auto-login guests, the login as guest button does not need to display, as the guest visiting the site will be logged in automaticallyn. Also, most schools using the Moodle software will only want their students to login and not guests. This can be removed from the login page through the Site administration section. This article will explain how to hide the Guest login button from the Moodle 2.3 login page.

Removing the Guest login

  1. Log into the Moodle Dashboard
  2. disable-guest-login-2-click-moodle

    Navigate to Site administration > Plugins > Authentication > Manage authentication in the settings.

  3. disable-guest-login-3-hide-moodle

    On the Manage authentication page, select Hide on the Guest login button field.
    disable-guest-login-4-final-moodle

    Now when visiting the Moodle login page, the Login as a guest button will not appear.

This concludes the article for Removing the Guest login button from the Moodle login page. For more information on this Education Course, please visit User Accounts and Permissions in Moodle

Was this article helpful? Let us know!