From 3783847acb108482852358ebf52791068a3d6002 Mon Sep 17 00:00:00 2001
From: liuxinhao <liuxinhao@kylinsec.com.cn>
Date: Fri, 2 Jun 2023 15:10:02 +0800
Subject: [PATCH] feat(jump login): open greeter jump login
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- 打开登录界面跳转登录
---
 src/lightdm-greeter/auth-lightdm.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lightdm-greeter/auth-lightdm.h b/src/lightdm-greeter/auth-lightdm.h
index f664c22..ddbd9de 100644
--- a/src/lightdm-greeter/auth-lightdm.h
+++ b/src/lightdm-greeter/auth-lightdm.h
@@ -34,6 +34,9 @@ public:
     ~AuthLightdm() override;
 
     bool init(AuthControllerInterface* controllerInterface) override;
+
+    bool loginUserSwitchable() override { return true; };
+
     bool authenticate(const QString& userName) override;
     void cancelAuthentication() override;
 
-- 
2.33.0

