[gdm/gdm-80s-sprint-commercial] pam: Drop gdm-pin service
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/gdm-80s-sprint-commercial] pam: Drop gdm-pin service
- Date: Wed, 22 Sep 2021 17:28:06 +0000 (UTC)
commit 8cf7870856c2aa148707fc2e42f0bf5a060a4eef
Author: Ray Strode <rstrode redhat com>
Date: Wed Sep 22 13:24:48 2021 -0400
pam: Drop gdm-pin service
gdm-pin was an experimental feature that was going to get added to
gnome-shell many years ago. It never happened and these days it
would probably be implemented a little different anyway.
(It would probably use a gdm pam extension)
There's no point keeping this service file around that we aren't
using, so this commit drops it.
Closes: https://gitlab.gnome.org/GNOME/gdm/-/issues/731
daemon/gdm-session-worker.c | 6 ------
data/meson.build | 4 ----
data/pam-exherbo/gdm-pin.pam | 10 ----------
data/pam-lfs/gdm-pin.pam | 17 -----------------
data/pam-openembedded/gdm-pin.pam | 7 -------
data/pam-redhat/gdm-pin.pam | 21 ---------------------
6 files changed, 65 deletions(-)
---
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index 3ad94e2ab..a264ea1dc 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -754,9 +754,6 @@ get_max_retries_error_message (GdmSessionWorker *worker)
if (g_strcmp0 (worker->priv->service, "gdm-password") == 0)
return _("You reached the maximum password authentication attempts, please try another
method");
- if (g_strcmp0 (worker->priv->service, "gdm-pin") == 0)
- return _("You reached the maximum PIN authentication attempts, please try another method");
-
if (g_strcmp0 (worker->priv->service, "gdm-autologin") == 0)
return _("You reached the maximum auto login attempts, please try another authentication
method");
@@ -775,9 +772,6 @@ get_generic_error_message (GdmSessionWorker *worker)
if (g_strcmp0 (worker->priv->service, "gdm-password") == 0)
return _("Sorry, password authentication didn’t work. Please try again.");
- if (g_strcmp0 (worker->priv->service, "gdm-pin") == 0)
- return _("Sorry, PIN authentication didn’t work. Please try again.");
-
if (g_strcmp0 (worker->priv->service, "gdm-autologin") == 0)
return _("Sorry, auto login didn’t work. Please try again.");
diff --git a/data/meson.build b/data/meson.build
index 7c5222eaf..2dec4c232 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -104,13 +104,11 @@ pam_data_files_map = {
'gdm-fingerprint',
'gdm-smartcard',
'gdm-password',
- 'gdm-pin',
],
'openembedded': [
'gdm-autologin',
'gdm-launch-environment',
'gdm-password',
- 'gdm-pin',
],
'exherbo': [
'gdm-autologin',
@@ -118,7 +116,6 @@ pam_data_files_map = {
'gdm-fingerprint',
'gdm-smartcard',
'gdm-password',
- 'gdm-pin',
],
'lfs': [
'gdm-autologin',
@@ -126,7 +123,6 @@ pam_data_files_map = {
'gdm-fingerprint',
'gdm-smartcard',
'gdm-password',
- 'gdm-pin',
],
'arch': [
'gdm-autologin',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]