Removing the Guest login button from the Moodle login page


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 automatically. 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.

    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

Alyssa Kordek Content Writer I

Alyssa started working for InMotion Hosting in 2015 as a member of the Technical Support team. Before being promoted to Technical Writer, Alyssa developed expertise in the fields of server hardware, Linux operating systems, cPanel, and WordPress. She now works to produce quality technical content featuring cutting-edge topics such as machine learning, data center infrastructure, and graphics card technology.

More Articles by Alyssa


It looks like this article doesn't have any comments yet - you can be the first. If you have any comments or questions, start the conversation!

Was this article helpful? Let us know!