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();