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:
Ray Strode
2017-07-17 16:48:03 -04:00
parent 051a6be121
commit 11401c13ed
4 changed files with 109 additions and 2 deletions

View File

@ -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,