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

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