summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2021-09-22 13:24:48 -0400
committerRay Strode <halfline@gmail.com>2021-09-29 14:57:24 +0000
commitbd1594deb1ab99378e8a488a5ecbb515ba215ab9 (patch)
treeff2331ed8510aca38dc2edfcbcf69ba5a8896706 /daemon
parent66bf05f86e333d8faed3c3b33811d6bc373d2bd5 (diff)
downloadgdm-bd1594deb1ab99378e8a488a5ecbb515ba215ab9.tar.gz
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
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gdm-session-worker.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index 3ad94e2a..a264ea1d 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.");