Ensure gdm hint text is cleraed

When 'with-smartcard-required' is switched, the hint text wasn't
cleared. This fixes it.

Resolves: https://redhat.atlassian.net/browse/RHEL-169899
This commit is contained in:
Joan Torres Lopez 2026-04-21 12:59:50 +02:00
parent 9ce7a393cb
commit 4ad3500d5d
No known key found for this signature in database

View File

@ -9183,3 +9183,27 @@ index 8a824f700a..16ac696029 100644
--
2.53.0
From df646fe6ac7b8739833987829c9ffc0bc31f39ef Mon Sep 17 00:00:00 2001
From: Joan Torres Lopez <joantolo@redhat.com>
Date: Tue, 21 Apr 2026 12:57:14 +0200
Subject: [PATCH 43/42] authPromtp: Ensure hint_text is properly cleared
---
js/gdm/authPrompt.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index cdad827..0081950 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -647,6 +647,7 @@ export const AuthPrompt = GObject.registerClass({
reuseEntryText: false,
});
+ this._entry.hint_text = '';
if (!reuseEntryText) {
this._entry.text = '';
this._inactiveEntry.text = '';
--
2.53.0