Skip to content
Snippets Groups Projects
Commit e86f438e authored by srosse's avatar srosse
Browse files

OO-504: remove the guest access from the left menu on the login page

parent 626d841a
No related branches found
No related tags found
No related merge requests found
......@@ -363,7 +363,7 @@ public class LoginAuthprovidersController extends MainLayoutBasicController impl
root.addChild(gtn);
root.setDelegate(gtn);
if (LoginModule.isGuestLoginLinksEnabled()) {
if (LoginModule.isGuestLoginLinksEnabled() && !AuthHelper.isLoginBlocked()) {
gtn = new GenericTreeNode("guest_item");
gtn.setTitle(translate("menu.guest"));
gtn.setUserObject(ACTION_GUEST);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment