gdm: use password authentication if all schemes are disabled
This prevents a traceback, at least.
This commit is contained in:
parent
9ef1bc7273
commit
58827ba36d
@ -419,6 +419,11 @@ var ShellUserVerifier = new Lang.Class({
|
|||||||
this._defaultService = SMARTCARD_SERVICE_NAME;
|
this._defaultService = SMARTCARD_SERVICE_NAME;
|
||||||
else if (this._haveFingerprintReader)
|
else if (this._haveFingerprintReader)
|
||||||
this._defaultService = FINGERPRINT_SERVICE_NAME;
|
this._defaultService = FINGERPRINT_SERVICE_NAME;
|
||||||
|
|
||||||
|
if (!this._defaultService) {
|
||||||
|
log("no authentication service is enabled, using password authentication");
|
||||||
|
this._defaultService = PASSWORD_SERVICE_NAME;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
_startService: function(serviceName) {
|
_startService: function(serviceName) {
|
||||||
|
Loading…
Reference in New Issue
Block a user