diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 6ed2e8443..cfa105ae8 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -613,11 +613,8 @@ const UserMenuButton = new Lang.Class({ _updateSwitchUser: function() { let allowSwitch = !this._lockdownSettings.get_boolean(DISABLE_USER_SWITCH_KEY); let multiUser = this._userManager.can_switch() && this._userManager.has_multiple_users; - let multiSession = Gdm.get_session_ids().length > 1; - this._loginScreenItem.label.set_text(multiUser ? _("Switch User") - : _("Switch Session")); - this._loginScreenItem.actor.visible = allowSwitch && (multiUser || multiSession); + this._loginScreenItem.actor.visible = allowSwitch && multiUser; }, _updateLogout: function() {