Blame SOURCES/0001-gdm-use-password-authentication-if-all-schemes-are-d.patch

12ec7d
From 345ddfb8456eb3fe8e32ab55d4d3a746d15ae4e0 Mon Sep 17 00:00:00 2001
12ec7d
From: Ray Strode <rstrode@redhat.com>
12ec7d
Date: Wed, 1 Jul 2015 11:18:44 -0400
12ec7d
Subject: [PATCH] gdm: use password authentication if all schemes are disabled
12ec7d
12ec7d
This prevents a traceback, at least.
12ec7d
---
12ec7d
 js/gdm/util.js | 5 +++++
12ec7d
 1 file changed, 5 insertions(+)
12ec7d
12ec7d
diff --git a/js/gdm/util.js b/js/gdm/util.js
12ec7d
index b594da4fd..bae46bfe0 100644
12ec7d
--- a/js/gdm/util.js
12ec7d
+++ b/js/gdm/util.js
12ec7d
@@ -419,6 +419,11 @@ var ShellUserVerifier = new Lang.Class({
12ec7d
             this._defaultService = SMARTCARD_SERVICE_NAME;
12ec7d
         else if (this._haveFingerprintReader)
12ec7d
             this._defaultService = FINGERPRINT_SERVICE_NAME;
12ec7d
+
12ec7d
+        if (!this._defaultService) {
12ec7d
+            log("no authentication service is enabled, using password authentication");
12ec7d
+            this._defaultService = PASSWORD_SERVICE_NAME;
12ec7d
+        }
12ec7d
     },
12ec7d
 
12ec7d
     _startService: function(serviceName) {
12ec7d
-- 
12ec7d
2.14.2
12ec7d