gdmUtil: Enable support for GDM's ChoiceList PAM extension
This commit hooks up support for GDM's ChoiceList PAM extension. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1978>
This commit is contained in:
@ -493,6 +493,13 @@ var UnlockDialog = GObject.registerClass({
|
||||
|
||||
this._gdmClient = new Gdm.Client();
|
||||
|
||||
try {
|
||||
this._gdmClient.set_enabled_extensions([
|
||||
Gdm.UserVerifierChoiceList.interface_info().name,
|
||||
]);
|
||||
} catch (e) {
|
||||
}
|
||||
|
||||
this._adjustment = new St.Adjustment({
|
||||
actor: this,
|
||||
lower: 0,
|
||||
|
Reference in New Issue
Block a user