!43 打开登录界面跳转登录功能

From: @liubuguiii 
Reviewed-by: @tangjie02 
Signed-off-by: @tangjie02
This commit is contained in:
openeuler-ci-bot 2023-06-02 09:06:06 +00:00 committed by Gitee
commit 014677c721
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,30 @@
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

View File

@ -1,6 +1,6 @@
Name: kiran-session-guard
Version: 2.5.1
Release: 2
Release: 3
Summary: Kiran desktop environment login and lock screen dialog
Summary(zh_CN): Kiran桌面环境登录和解锁框
@ -9,6 +9,7 @@ Source0: %{name}-%{version}.tar.gz
Patch0001: 0001-fix-kiran-auth-unset-screensaver-dialog-no-fail-dela.patch
Patch0002: 0002-fix-polkit-agent-Remove-the-restriction-on-polkit-ag.patch
Patch0003: 0003-feat-jump-login-open-greeter-jump-login.patch
%define SHOW_VIRTUAL_KEYBOARD 0
@ -146,6 +147,9 @@ gtk-update-icon-cache -f /usr/share/icons/hicolor/
rm -rf %{buildroot}
%changelog
* Fri Jun 02 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.5.1-3
- KYOS-F: open greeter jump login
* Wed May 31 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.5.1-2
- KYOS-B: unset screensaver-dialog no fail delay(#I7937W)
- KYOS-B: Remove the restriction on polkit-agent authentication errors(#I7961L)