From 24c8f5bb709b072c603c551cb090c5606f8b8a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Tue, 18 Feb 2020 22:23:26 +0100 Subject: [PATCH] authPrompt: Fix cancel button visibility Grrr, this slipped in in 5cad5c20e9f, and we don't have a compiler to catch those kinds of bugs :-( https://gitlab.gnome.org/GNOME/gnome-shell/issues/2228 --- js/gdm/authPrompt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 8624d17f4..8cb1f305c 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -81,7 +81,7 @@ var AuthPrompt = GObject.registerClass({ }); this.add_child(this._userWell); - this._hasCancelButton = this._mode === AuthPromptStatus.UNLOCK_OR_LOG_IN; + this._hasCancelButton = this._mode === AuthPromptMode.UNLOCK_OR_LOG_IN; this._initEntryRow();